instadeepai / marl-eval

A tool for aggregating and plotting MARL experiment data.
https://sites.google.com/view/marl-standard-protocol/home
Apache License 2.0
61 stars 6 forks source link

Fix: Enhanced flexibility in `create_matrices_for_rliable` #38

Closed OmaymaMahjoub closed 11 months ago

OmaymaMahjoub commented 11 months ago

What?

Updated the create_matrices_for_rliable function to handle metrics data in both float and list formats.

Why?

This modification addresses an issue where supplying a JSON file containing the average of the metrics results in the data[env][task][...][metric] being interpreted as a list. This previously led to errors when incorporating these metrics into the metric_dictionary_return