code: def compute_metric(self):
      self.metric = -1 * float(
          Accuracy(task="binary")(
              self._to_labels(self.submission_path),
              self._to_labels(f"{self.data_dir}/ground_truth.csv"),
          )
      )
  
file_path: pytorch-lightning/examples/app/hpo/objective.py
imports: import os
  import tempfile
  from datetime import datetime
  from typing import Optional
  import pandas
  import torch
  from lightning.app import CloudCompute
  from lightning.app.components import TracerPythonScript
  from optuna.distributions import CategoricalDistribution, LogUniformDistribution
  from torchmetrics import Accuracy
label_desc: Use image node_id 4 for calling the ObjectiveWork obj's underlying member method code with example usage: obj.compute_metric() without return types