\label{Spreadsheet_Completely_Recalc} The total number of sheets in course can be tremendous, since it is the number of students times the number of assessments. LON-CAPA caches these sheets and only selectively invalidates those cache copies if potentially relevant data changes. \textbf{Completely Recalc} forces LON-CAPA to invalidate all cache copies. \index{Completely Recalc} For instance, this is necessary to get the most up-to-date calculations if the sheet itself contains direct access to the system clock (making it ``out-of-date'' the moment it is calculated), or if an assessment is edited in a way that would retroactively change grading. The automatic spreadsheet devalidation catches student submissions, \textbf{PAR}a\textbf{M}eter changes, and spreadsheet changes, but not re-publication of a problem resource. \label{Spreadsheet_Max_Depth_Exceeded} The ``Maximum Calculation Depth Exceeded''\index{Maximum Calculation Depth Exceeded error} error can occur when you reference other cells in calculations. For example, if you have: \texttt{G0 = Some\_complicated\_expression\\ X0 = G0>2?1:0} Try replacing \texttt{X0}'s contents with \texttt{[ (Some\_complicated\_expression) > 2]?1:0}. In other words, replace the reference to \texttt{G0} with the actual contents of \texttt{G0}. That might fix your error by removing one level of indirection that LON-CAPA must process in order to compute the result.