CREATE TABLE table_11594 ("Rider" TEXT, "Bike" TEXT, "Laps" FLOAT, "Time" TEXT, "Grid" FLOAT)

What is the largest lap number when the time was +31.982?
SELECT MAX("Laps") FROM table_11594 WHERE "Time" = '+31.982'
SELECT MAX("Laps") FROM "table_11594" WHERE "Time" = '+31.982'