Right now we are using a little hack where we add the bad measurements to the datastore, on a temporary variable (i.e., not saved on the DB) which is used only for testing purposes.
Now that we allow bad measurements to get saved (using two thresholds) we can remove this and just set an "all pass" delete threshold for the tests (or, at least for a subset of the tests), so we don't really need this hack anymore.
Right now we are using a little hack where we add the bad measurements to the datastore, on a temporary variable (i.e., not saved on the DB) which is used only for testing purposes.
Now that we allow bad measurements to get saved (using two thresholds) we can remove this and just set an "all pass" delete threshold for the tests (or, at least for a subset of the tests), so we don't really need this hack anymore.