       false true))
 
 (defn- report-id [m]
-  "Returns the `id` plus hashCode of a 'stringified' version of a map"
+  "Generates a unique identifier based on the map"
   (format "id%s" (hash (str m))))
 
 (defn- schedule-job [params]


(defn invalidate-cache [params]
  "Invalidates (remove) a given file from the cache"
  params)
         report (exp/doexport exportType baseURL sid opts)
         path (s/join "/" (take-last 2 (s/split (.getAbsolutePath report) #"/")))]
    (dosync
      (alter cache conj {{:id reportId
                          :surveyId sid
                          :baseURL baseURL} path}))
    (qs/delete-job (j/key reportId))))


