update losses names in tests

This commit is contained in:
Khalil Meftah
2026-04-21 11:53:32 +02:00
parent a84b0e8132
commit a4c0c9e358
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -356,7 +356,7 @@ def test_learner_algorithm_wiring():
}
stats = algorithm.update(batch_iterator())
assert "critic" in stats.losses
assert "loss_critic" in stats.losses
# get_weights -> state_to_bytes round-trip
weights = algorithm.get_weights()
@@ -393,7 +393,7 @@ def test_learner_algorithm_wiring():
batch_size=batch_size,
)
trainer_stats = trainer.training_step()
assert "critic" in trainer_stats.losses
assert "loss_critic" in trainer_stats.losses
def test_initial_and_periodic_weight_push_consistency():