code: def _validate_compute_chunk_params(
              self, dates, symbols, initial_workspace):
          
          root = self._root_mask_term
          clsname = type(self).__name__
  
          # Writing this out explicitly so this errors in testing if we change
          # the name without updating this line.
          compute_chunk_name = self.compute_chunk.__name__
          if root not in initial_workspace:
              raise AssertionError(
                  "root_mask values not supplied to {cls}.{method}".format(
                      cls=clsname,
                      method=compute_chunk_name,
                  )
              )
  
          shape = initial_workspace[root].shape
          implied_shape = len(dates), len(symbols)
          if shape != implied_shape:
              raise AssertionError(
                  "root_mask shape is {shape}, but received dates/symbols "
                  "imply that shape should be {implied}".format(
                      shape=shape,
                      implied=implied_shape,
                  )
              )
docs: Verify that the values passed to compute_chunk are well-formed.