adap / flower

Flower: A Friendly Federated AI Framework
https://flower.ai
Apache License 2.0
5.16k stars 882 forks source link

break(framework) Fix simulation arguments and tests #4563

Open chongshenng opened 4 days ago

chongshenng commented 4 days ago

The existing Exec API tests are silently failing, causing several bugs to slip through. The changes in these PR are inter-related.

For tests:

For flwr-simulation arguments:

For settings in flwr-simulation:

jafermarq commented 3 days ago

@chongshenng could we follow the same logic in flwr-simulation as in flwr-serverapp and introduce something like this? https://github.com/adap/flower/blob/67688c6708b3cf23829c872999c0f9887b9ed558/src/py/flwr/server/serverapp/app.py#L74

chongshenng commented 3 days ago

@jafermarq For this comment, yes. I'll have a follow-up PR that refactors the args and includes this warning too.