Test logging stats.
(self, logger)
| 276 | logger.close() |
| 277 | |
| 278 | def test_log_stats_basic(self, logger): |
| 279 | """Test logging stats.""" |
| 280 | stats = {"total": 100, "processed": 90, "rejected": 10} |
| 281 | logger.log_stats("Processing Stats", stats) |
| 282 | |
| 283 | def test_log_stats_without_wandb(self, logger): |
| 284 | """Test logging stats without wandb.""" |