import json
import numpy as np

import fire


def evaluation_stats(results_path=r'./evaluation_results/final/test_results__group-basic_cartpole.json'):
    with open(results_path, mode="r") as f:
        results = json.load(f)
        mean_scores = {}
    for key, value in results.items():
        # @plelievre : is the right way to compute the mean?
        mean_scores[key] = np.mean(results[key])
    print(mean_scores)


if __name__ == "__main__":
    fire.Fire(evaluation_stats)

b8450178b77d28517e88e7c568e62d2148ba34a8
<mask token>

<mask token>


def evaluation_stats(results_path=
    './evaluation_results/final/test_results__group-basic_cartpole.json'):
    with open(results_path, mode='r') as f:
        results = json.load(f)
        mean_scores = {}
    for key, value in results.items():
        mean_scores[key] = np.mean(results[key])
    print(mean_scores)


<mask token>

<mask token>


def evaluation_stats(results_path=
    './evaluation_results/final/test_results__group-basic_cartpole.json'):
    with open(results_path, mode='r') as f:
        results = json.load(f)
        mean_scores = {}
    for key, value in results.items():
        mean_scores[key] = np.mean(results[key])
    print(mean_scores)


if __name__ == '__main__':
    fire.Fire(evaluation_stats)

import json
import numpy as np
import fire


def evaluation_stats(results_path=
    './evaluation_results/final/test_results__group-basic_cartpole.json'):
    with open(results_path, mode='r') as f:
        results = json.load(f)
        mean_scores = {}
    for key, value in results.items():
        mean_scores[key] = np.mean(results[key])
    print(mean_scores)


if __name__ == '__main__':
    fire.Fire(evaluation_stats)

import json
import numpy as np

import fire


def evaluation_stats(results_path=r'./evaluation_results/final/test_results__group-basic_cartpole.json'):
    with open(results_path, mode="r") as f:
        results = json.load(f)
        mean_scores = {}
    for key, value in results.items():
        # @plelievre : is the right way to compute the mean?
        mean_scores[key] = np.mean(results[key])
    print(mean_scores)


if __name__ == "__main__":
    fire.Fire(evaluation_stats)
