Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

comitting changes

Silen Naihin3992f0865bba
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cdd76187f4..f6c1cc0033 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -263,6 +263,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
+ token: ${{ env.GH_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v2
diff --git a/agbenchmark/reports/processing/gen_combined_chart.py b/agbenchmark/reports/processing/gen_combined_chart.py
index 784e8ff9e3..f7140de682 100644
--- a/agbenchmark/reports/processing/gen_combined_chart.py
+++ b/agbenchmark/reports/processing/gen_combined_chart.py
@@ -32,6 +32,7 @@ def generate_combined_chart() -> None:
info_data = {
report_name: data.benchmark_start_time
for report_name, data in reports_data.items()
+ if report_name in categories
}
with open(Path(run_charts_folder) / "run_info.json", "w") as f:
json.dump(info_data, f)
diff --git a/agbenchmark/reports/processing/graphs.py b/agbenchmark/reports/processing/graphs.py
index e84544ef82..8abe9d01a8 100644
--- a/agbenchmark/reports/processing/graphs.py
+++ b/agbenchmark/reports/processing/graphs.py
@@ -11,6 +11,7 @@ from matplotlib.colors import Normalize
def save_combined_radar_chart(
categories: dict[str, Any], save_path: str | Path
) -> None:
+ categories = {k: v for k, v in categories.items() if v}
if not all(categories.values()):
raise Exception("No data to plot")
labels = np.array(
diff --git a/reports/combined_charts/run3/bar_chart.png b/reports/combined_charts/run3/bar_chart.png
new file mode 100644
index 0000000000..c89fb5294f
Binary files /dev/null and b/reports/combined_charts/run3/bar_chart.png differ
diff --git a/reports/combined_charts/run3/radar_chart.png b/reports/combined_charts/run3/radar_chart.png
new file mode 100644
index 0000000000..a12181749b
Binary files /dev/null and b/reports/combined_charts/run3/radar_chart.png differ
diff --git a/reports/combined_charts/run3/run_info.json b/reports/combined_charts/run3/run_info.json
new file mode 100644
index 0000000000..fdbf8300c2
--- /dev/null
+++ b/reports/combined_charts/run3/run_info.json
@@ -0,0 +1 @@
+{"Auto-GPT": "2023-08-01-16:58", "BabyAGI": "2023-08-01-17:35", "beebot": "2023-08-01-17:31", "gpt-engineer": "2023-08-01-17:31", "mini-agi": "2023-08-01-16:57", "smol-developer": "2023-08-01-17:31"}
\ No newline at end of file