Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Jan 13, 2025
1 parent d831e2f commit 4251e97
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 8 deletions.
6 changes: 3 additions & 3 deletions aider/website/assets/sample-analytics.jsonl
Original file line number Diff line number Diff line change
@@ -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}
Expand Down Expand Up @@ -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}
4 changes: 2 additions & 2 deletions aider/website/docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ tr:hover { background-color: #f5f5f5; }
</style>
<table>
<tr><th>Model Name</th><th class='right'>Total Tokens</th><th class='right'>Percent</th></tr>
<tr><td>deepseek/deepseek-chat</td><td class='right'>1,350,764</td><td class='right'>86.4%</td></tr>
<tr><td>claude-3-5-sonnet-20241022</td><td class='right'>178,352</td><td class='right'>11.4%</td></tr>
<tr><td>deepseek/deepseek-chat</td><td class='right'>1,344,540</td><td class='right'>86.4%</td></tr>
<tr><td>claude-3-5-sonnet-20241022</td><td class='right'>178,352</td><td class='right'>11.5%</td></tr>
<tr><td>o1</td><td class='right'>25,326</td><td class='right'>1.6%</td></tr>
<tr><td>mistral/codestral-latest</td><td class='right'>8,137</td><td class='right'>0.5%</td></tr>
</table>
Expand Down
5 changes: 2 additions & 3 deletions aider/website/docs/leaderboards/edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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.
<!--[[[end]]]-->
</p>
26 changes: 26 additions & 0 deletions aider/website/docs/leaderboards/refactor.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,29 @@ Therefore, results are available for fewer models.
</script>


<p class="post-date">
By Paul Gauthier,
last updated
<!--[[[cog
import subprocess
import datetime
files = [
'aider/website/docs/leaderboards/refactor.md',
'aider/website/_data/refactor_leaderboard.yml',
]
def get_last_modified_date(file):
result = subprocess.run(['git', 'log', '-1', '--format=%ct', file], capture_output=True, text=True)
if result.returncode == 0:
timestamp = int(result.stdout.strip())
return datetime.datetime.fromtimestamp(timestamp)
return datetime.datetime.min
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 21, 2024.
<!--[[[end]]]-->
</p>
2 changes: 2 additions & 0 deletions scripts/update-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4251e97

Please sign in to comment.