def METHOD_NAME(self, builderid, buildid, stepid, description, category, value_unit):
    # Returns the id of the new result set
    def thd(conn):
        sets_table = self.db.model.test_result_sets
        insert_values = {
            'builderid': builderid,
            'buildid': buildid,
            'stepid': stepid,
            'description': description,
            'category': category,
            'value_unit': value_unit,
            'complete': 0
        }
        q = sets_table.insert().values(insert_values)
        r = conn.execute(q)
        return r.inserted_primary_key[0]
    res = yield self.db.pool.do(thd)
    return res