def METHOD_NAME(self):
    """Test for a submission which failed to compile."""
    submission, results = self.add_submission_with_results(
        self.tasks[0], self.participation, False)
    self.session.flush()
    expected_operations = set(
        self._scoring_operation(submission, dataset)
        for dataset in submission.task.datasets if self.to_judge(dataset))
    self.assertEqual(
        set(get_operations(self.session)),
        expected_operations)