(self)
| 2 | |
| 3 | class Accuracy: |
| 4 | def __init__(self): |
| 5 | self._num_correct = 0 |
| 6 | self._num_total = 0 |
| 7 | |
| 8 | def update(self, predicted: str, target: str) -> None: |
| 9 | is_correct = target in predicted |
nothing calls this directly
no outgoing calls
no test coverage detected