Open nreinicke opened 1 year ago
One idea is that we could at least write each report type to a dedicated file (rather than a single log file for all states and all events). In that way, we would eliminate the report_type
information, and, we could write to file in different formats, like csv, since the report keys will always be the same for each report type.
For both state and event logs, at each time step, we log the reports to a log file that we open at the start of the simulation.
Each of these reports get written to the logs as a single json line like the below for a vehicle state event.
Some downsides of this approach are:
This issue is intended as a discussion for ways to improve the reporting and then we can implement more issues for the ideas that come from it.