From 4251e976b3aa52c2a3af08da4b203d4d524c8e92 Mon Sep 17 00:00:00 2001
From: Paul Gauthier
Date: Mon, 13 Jan 2025 14:28:34 -0800
Subject: [PATCH] copy
---
aider/website/assets/sample-analytics.jsonl | 6 ++---
aider/website/docs/faq.md | 4 ++--
aider/website/docs/leaderboards/edit.md | 5 ++--
aider/website/docs/leaderboards/refactor.md | 26 +++++++++++++++++++++
scripts/update-docs.sh | 2 ++
5 files changed, 35 insertions(+), 8 deletions(-)
diff --git a/aider/website/assets/sample-analytics.jsonl b/aider/website/assets/sample-analytics.jsonl
index ed7b372d49e..0cc85ddfdd9 100644
--- a/aider/website/assets/sample-analytics.jsonl
+++ b/aider/website/assets/sample-analytics.jsonl
@@ -1,6 +1,3 @@
-{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736444393}
-{"event": "message_send", "properties": {"main_model": "deepseek/deepseek-coder", "weak_model": "deepseek/deepseek-coder", "editor_model": "deepseek/deepseek-coder", "edit_format": "diff", "prompt_tokens": 6029, "completion_tokens": 195, "total_tokens": 6224, "cost": 0.0008986600000000001, "total_cost": 0.00791476}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736444400}
-{"event": "command_reset", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736444404}
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736445473}
{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736445474}
{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736445474}
@@ -998,3 +995,6 @@
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736797223}
{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736797224}
{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736797224}
+{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736807243}
+{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736807243}
+{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736807243}
diff --git a/aider/website/docs/faq.md b/aider/website/docs/faq.md
index 7eee6f40048..e9e92af0ae9 100644
--- a/aider/website/docs/faq.md
+++ b/aider/website/docs/faq.md
@@ -249,8 +249,8 @@ tr:hover { background-color: #f5f5f5; }
Model Name | Total Tokens | Percent |
-deepseek/deepseek-chat | 1,350,764 | 86.4% |
-claude-3-5-sonnet-20241022 | 178,352 | 11.4% |
+deepseek/deepseek-chat | 1,344,540 | 86.4% |
+claude-3-5-sonnet-20241022 | 178,352 | 11.5% |
o1 | 25,326 | 1.6% |
mistral/codestral-latest | 8,137 | 0.5% |
diff --git a/aider/website/docs/leaderboards/edit.md b/aider/website/docs/leaderboards/edit.md
index aa23e4a4e37..8771881e586 100644
--- a/aider/website/docs/leaderboards/edit.md
+++ b/aider/website/docs/leaderboards/edit.md
@@ -113,9 +113,8 @@ import subprocess
import datetime
files = [
- 'aider/website/docs/leaderboards/index.md',
+ 'aider/website/docs/leaderboards/edit.md',
'aider/website/_data/edit_leaderboard.yml',
- 'aider/website/_data/refactor_leaderboard.yml'
]
def get_last_modified_date(file):
@@ -129,6 +128,6 @@ mod_dates = [get_last_modified_date(file) for file in files]
latest_mod_date = max(mod_dates)
cog.out(f"{latest_mod_date.strftime('%B %d, %Y.')}")
]]]-->
-December 16, 2024.
+December 22, 2024.
diff --git a/aider/website/docs/leaderboards/refactor.md b/aider/website/docs/leaderboards/refactor.md
index f7894142862..f7545f80966 100644
--- a/aider/website/docs/leaderboards/refactor.md
+++ b/aider/website/docs/leaderboards/refactor.md
@@ -50,3 +50,29 @@ Therefore, results are available for fewer models.
+
+By Paul Gauthier,
+last updated
+
+December 21, 2024.
+
+
diff --git a/scripts/update-docs.sh b/scripts/update-docs.sh
index fdf4791b34d..ecde8ac01dc 100755
--- a/scripts/update-docs.sh
+++ b/scripts/update-docs.sh
@@ -27,6 +27,8 @@ cog $ARG \
aider/website/docs/config/adv-model-settings.md \
aider/website/docs/config/model-aliases.md \
aider/website/docs/leaderboards/index.md \
+ aider/website/docs/leaderboards/edit.md \
+ aider/website/docs/leaderboards/refactor.md \
aider/website/docs/llms/other.md \
aider/website/docs/more/infinite-output.md \
aider/website/docs/legal/privacy.md