ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.6ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 3 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 4 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 5 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 6 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 7 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 8 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 9 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 10 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 11 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 13 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 14 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 15 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 16 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 17 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 18 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 19 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 20 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 21 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 22 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 23 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 24 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 25 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 26 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 27 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 28 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 29 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 30 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 31 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 32 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 33 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 34 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 35 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 36 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.3ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 37 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 38 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 39 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 40 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 41 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 42 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 43 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 44 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 45 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 46 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 47 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 48 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 49 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 50 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.7ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 51 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 52 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 53 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 54 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 55 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 56 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 57 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 58 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 59 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 60 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 61 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 62 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 63 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 64 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.3ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 65 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 66 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 67 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 68 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 69 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 70 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 71 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 72 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 73 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 74 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 75 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 76 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 77 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 78 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 79 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 80 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 81 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 82 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 83 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 84 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 85 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 86 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 87 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 88 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 89 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 90 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 91 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 92 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 93 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.3ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 94 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 95 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 96 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 97 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 98 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 99 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 100 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 101 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 102 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 103 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 104 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.3ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 105 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 106 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 107 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 108 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 109 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 110 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 111 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 112 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 113 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.5ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 114 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 115 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 116 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 117 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 118 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 119 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 120 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 121 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (1.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 122 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 123 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 124 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 125 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 126 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 127 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 128 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 129 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 130 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 131 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 132 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 133 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 134 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 135 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 136 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 137 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 138 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 139 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.4ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 140 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 141 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 142 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.6ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', NULL, 4, '--- :c: 20 ', '--- :generalised_logistic_curve ', '--- :step ', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 3 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 4 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 5 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 6 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 7 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 8 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 9 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 10 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 11 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.6ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.7ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.8ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 13 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 13 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 12 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 12, 0.0, 1) User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: value User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, NULL) User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, NULL) User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, NULL) User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, NULL) User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, NULL) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, NULL) User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.5ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.4ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.4ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) User Create (0.5ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (3.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.8ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 13 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 13) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(13, 0.0, 1) SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 13 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 13) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(13, 0.0, 1) SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.4ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 13 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 13) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(13, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 13 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 13) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(13, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 13 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 13) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(13, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 13 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 13) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(13, 0.0, 1) User Create (0.4ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.4ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 12) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(12, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 12)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 12 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 4, '--- :c: 20 ', '--- :generalised_logistic_curve ', '--- :step ', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.7ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 4, '--- :c: 20 ', '--- :generalised_logistic_curve ', '--- :step ', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', '--- :singular ', 4, '--- :c: 20 ', '--- :generalised_logistic_curve ', '--- :step ', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.3ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', '--- :singular ', 1, '--- :m: 1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', '--- :linear ', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) User Create (0.6ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', '--- :generalised_logistic_curve ', '--- :step ', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.0ms) SQLite3::SQLException: no such column: reputation_intermediate_values.rule_id: SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.rule_id: SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.6ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.9ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.6ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.3ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.0ms) SQLite3::SQLException: no such column: reputation_behaviours.behaviour_id: SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".behaviour_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.4ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.7ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.6ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.3ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (9.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (9.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', '--- :collection ', 1, '--- :m: 0.1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', '--- :collection ', 1, '--- :m: 0.1 ', '--- :linear ', '--- :linear ', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2167197580 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2167197440 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2167196260 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2167196940 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2167197400 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2167197060 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" IS NULL) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (1.0ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.5ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.5ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('name', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 2 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.3ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 2 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.3ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.2ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'name') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :name ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.7ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.5ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values".rule_id = 1)  ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.5ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (1.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.0ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1 AND "reputation_behaviours"."user_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1) AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.5ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.9ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 3) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.8ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.9ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.0ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.0ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.5ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.0ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.5ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.5ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (2.0ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', '--- :singular ', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', '--- :collection ', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', '--- :step ', '--- :linear ', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Update (0.0ms) UPDATE "reputation_behaviours" SET "metric" = 399.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.0ms) UPDATE "reputation_intermediate_values" SET "value" = 3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.0ms) UPDATE "reputation_intermediate_values" SET "value" = 4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, -1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Update (0.0ms) UPDATE "reputation_behaviours" SET "metric" = 399.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.2 ', "constants" = '--- :c: 400 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, -1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.0ms) UPDATE "reputation_intermediate_values" SET "value" = -3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Update (0.0ms) UPDATE "reputation_behaviours" SET "metric" = 399.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (2.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.3ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.3ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.2 ', "constants" = '--- :c: 400 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.0ms) UPDATE "reputation_intermediate_values" SET "value" = 3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, -1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 3) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.0ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (1.0ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', NULL, 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, NULL, NULL, NULL, NULL) User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, NULL, NULL, NULL, NULL) User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', NULL, 1, NULL, NULL, NULL, NULL) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', NULL, 1, NULL, NULL, NULL, NULL) User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', NULL, 1, NULL, 'linear', NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', NULL, 1, NULL, 'linear', NULL, NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', NULL, 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, NULL, NULL, NULL, NULL) User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, NULL, NULL, NULL, NULL) User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', NULL, 1, NULL, NULL, NULL, NULL) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', NULL, 1, NULL, NULL, NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', NULL, 1, NULL, NULL, NULL, NULL) User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', NULL, 1, NULL, 'linear', NULL, NULL) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', NULL, 1, NULL, 'linear', NULL, NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.5ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 User Create (1.0ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 399.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.2 ', "constants" = '--- :c: 400 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, -1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -2.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -3.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -4.0 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (1.0ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.2ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (0.8ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 3) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.1ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) User Create (0.8ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.7ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.4ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.2ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 399.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.5ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.5ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (3.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.8ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.3ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.7ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (2.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.6ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (2.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.2 ', "constants" = '--- :c: 400 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.8ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.6ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (5.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (2.0ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.4ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.2ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.9ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 3.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 4.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (1.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, -1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.6ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.3ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -2.0 WHERE "id" = 1 ReputationBehaviour Load (0.5ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -3.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.9ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -4.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.5ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (1.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.6ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (1.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.4ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (1.7ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (4.1ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (1.0ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.8ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.9ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (2.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.9ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (1.9ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (16.0ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.6ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.6ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (1.8ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.5ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (22.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 3) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.6ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (2.1ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.4ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.3ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.5ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (2.6ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (1.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.7ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) User Create (0.9ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.4ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (1.0ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 399.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.4ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.4ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.2 ', "constants" = '--- :c: 400 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (1.6ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.8ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.6ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 3.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 4.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.5ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.6ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (1.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.7ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, -1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -2.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -3.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -4.0 WHERE "id" = 1 ReputationBehaviour Load (5.7ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (1.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.6ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (4.9ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.3ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (3.9ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (1.9ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (6.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.5ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (6.0ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.6ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (8.6ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Update (0.2ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.5ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (2.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (1.0ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.5ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.6ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.8ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.9ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (1.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.9ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (2.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.9ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (119.8ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.3ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.3ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 3) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.7ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.6ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.5ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (1.4ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.6ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (10.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) User Create (0.6ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.3ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Update (0.3ms) UPDATE "reputation_behaviours" SET "metric" = 399.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.4ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.6ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.4ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.6ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.3ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.2 ', "constants" = '--- :c: 400 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 401.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 2.0 WHERE "id" = 1 ReputationBehaviour Load (0.4ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 3.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = 4.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('new_message', 'collection', 1, '--- :m: 0.2 ', 'step', 'linear', '--- :c: 400 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 399.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, -1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -2.0 WHERE "id" = 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.2ms) UPDATE "reputation_intermediate_values" SET "value" = -3.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_message') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 2 AND "reputation_intermediate_values".id <> 1) LIMIT 1 ReputationIntermediateValue Update (0.1ms) UPDATE "reputation_intermediate_values" SET "value" = -4.0 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 2) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.5 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.7 WHERE "id" = 1 ReputationBehaviour Load (0.4ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Update (0.1ms) UPDATE "reputation_behaviours" SET "metric" = 0.3 WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (0.4ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.7, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  User Create (1.7ms) INSERT INTO "users" ("name") VALUES('bob') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'misc') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('misc', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') WARNING: Can't mass-assign these protected attributes: weighting ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('profile_update', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.5ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'profile_update') LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 2 WHERE "id" = 2 ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('wibble', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" LIMIT 1 ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'wibble') LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 4, '--- :c: 20 ', 'generalised_logistic_curve', 'step', '--- :b: 2 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Update (0.4ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 200 WHERE "id" = 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.6ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'bar') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('bar', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'another_rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :another_rule ', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test' AND "reputation_rules".id <> 2) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 1 ', "weight" = 3 WHERE "id" = 2 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'test') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('test', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'new_rule') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('--- :new_rule ', 'singular', 2, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.5ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.4ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "function" = '--- :linear ', "aggregate_constants" = '--- :m: 1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'other') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('other', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule' AND "reputation_rules".id <> 1) LIMIT 1 ReputationRule Update (0.1ms) UPDATE "reputation_rules" SET "aggregate_constants" = '--- :m: 0.1 ', "constants" = '--- :m: 2 ' WHERE "id" = 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.1ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule', 'collection', 1, '--- :m: 0.1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'collection' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('collection', 1, 0.5, 1) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."name" = 'collection') AND ("reputation_intermediate_values".rule_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationRule Create (0.7ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 3') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('rule 3', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 1') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.4ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'rule 2') LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, -0.25, 2) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours".user_id = 1)  ReputationRule Load (0.4ms) SELECT * FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 SQL (0.2ms) SELECT sum("reputation_rules".weight) AS sum_weight FROM "reputation_rules"  ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 3) AND ("reputation_behaviours".user_id = 1) LIMIT 1 User Create (0.5ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 ReputationRule Create (0.2ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('1', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.1ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 ReputationRule Create (0.1ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('2', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '1') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 1.0, 1) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = '2') LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 2)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 2) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.5, 2) ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" IS NULL) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" IS NULL AND "reputation_behaviours"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.4ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.2ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.3ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.3ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.3ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationRule Load (0.3ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.2ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 1 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 1) LIMIT 1 ReputationBehaviour Create (0.3ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(1, 0.0, 1) User Create (0.1ms) INSERT INTO "users" ("name") VALUES(NULL) ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationBehaviour Load (0.1ms) SELECT "reputation_behaviours".id FROM "reputation_behaviours" WHERE ("reputation_behaviours"."user_id" = 2 AND "reputation_behaviours"."rule_id" = 1) LIMIT 1 ReputationBehaviour Load (0.2ms) SELECT * FROM "reputation_behaviours" WHERE ("reputation_behaviours"."rule_id" = 1) AND ("reputation_behaviours".user_id = 2) LIMIT 1 ReputationBehaviour Create (0.1ms) INSERT INTO "reputation_behaviours" ("user_id", "metric", "rule_id") VALUES(2, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.2ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.3ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" IS NULL AND "reputation_intermediate_values"."user_id" IS NULL AND "reputation_intermediate_values"."rule_id" IS NULL) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationIntermediateValue Load (0.2ms) SELECT * FROM "reputation_intermediate_values" LIMIT 1 User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  ReputationRule Load (0.2ms) SELECT * FROM "reputation_rules" WHERE ("reputation_rules"."id" = 1)  ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 2 AND "reputation_intermediate_values"."rule_id" = 2) LIMIT 1 ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.1ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1) ReputationRule Load (0.2ms) SELECT "reputation_rules".id FROM "reputation_rules" WHERE ("reputation_rules"."name" = 'foo') LIMIT 1 ReputationRule Create (0.4ms) INSERT INTO "reputation_rules" ("name", "kind", "weight", "aggregate_constants", "function", "aggregate_function", "constants") VALUES('foo', 'singular', 1, '--- :m: 1 ', 'linear', 'linear', '--- :m: 1 ') User Create (0.1ms) INSERT INTO "users" ("name") VALUES('bob') ReputationIntermediateValue Load (0.2ms) SELECT "reputation_intermediate_values".id FROM "reputation_intermediate_values" WHERE ("reputation_intermediate_values"."name" = 'foo' AND "reputation_intermediate_values"."user_id" = 1 AND "reputation_intermediate_values"."rule_id" = 1) LIMIT 1 ReputationIntermediateValue Create (0.3ms) INSERT INTO "reputation_intermediate_values" ("name", "user_id", "value", "rule_id") VALUES('foo', 1, 0.0, 1)