Skip to content

Commit 0831ea7

Browse files
Add swe-smith details
1 parent 9d9b6b3 commit 0831ea7

File tree

6 files changed

+160
-35
lines changed

6 files changed

+160
-35
lines changed

css/components.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,22 @@ button:focus,
434434
border-left: 4px solid transparent;
435435
}
436436

437+
/* Announcement container */
438+
.announcement-container {
439+
background-color: var(--color-accent-light);
440+
border: 1.5px solid var(--color-accent);
441+
padding: 1rem;
442+
margin-bottom: 1.5rem;
443+
border-radius: 0.25rem;
444+
display: flex;
445+
align-items: center;
446+
justify-content: center;
447+
}
448+
449+
.announcement-container p {
450+
margin-bottom: 0;
451+
}
452+
437453
.alert-info {
438454
background-color: var(--color-accent-light);
439455
border-left-color: var(--color-accent);

css/pages.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@
100100
display: none;
101101
}
102102

103+
.tabcontent .table-responsive {
104+
max-height: 60vh;
105+
overflow-y: auto;
106+
}
107+
108+
@media (max-height: 700px) {
109+
.tabcontent .table-responsive {
110+
max-height: 50vh;
111+
}
112+
}
113+
103114
.leaderboard-tab-list {
104115
display: flex;
105116
gap: 0.5rem;
@@ -659,4 +670,27 @@ code {
659670
-webkit-filter: none;
660671
-moz-filter: none;
661672
transform: none;
673+
}
674+
675+
/* Contact page styles */
676+
.contact-container {
677+
max-width: 600px;
678+
margin: 3rem auto;
679+
text-align: center;
680+
}
681+
682+
.contact-container p {
683+
font-size: 1.1rem;
684+
margin-bottom: 1.5rem;
685+
line-height: 1.6;
686+
}
687+
688+
.contact-container a {
689+
color: var(--color-primary);
690+
text-decoration: none;
691+
font-weight: bold;
692+
}
693+
694+
.contact-container a:hover {
695+
text-decoration: underline;
662696
}

img/swe-smith-icon.svg

Lines changed: 96 additions & 0 deletions
Loading

templates/_sidebar.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<li><a href="citations.html" class="nav-link" data-page="citations">Citations</a></li>
2727
<li class="nav-section-title">The SWE-bench Family</li>
2828
<li><a href="https://swe-agent.com/latest/" class="nav-link" data-page="swe-agent"><img src="img/swe-agent-icon.svg" alt="SWE-agent icon" class="sidebar-family-icon">SWE-agent <i class="fas fa-external-link-alt"></i></a></li>
29+
<li><a href="https://swesmith.com/" class="nav-link" data-page="swe-smith"><img src="img/swe-smith-icon.svg" alt="SWE-smith icon" class="sidebar-family-icon">SWE-smith <i class="fas fa-external-link-alt"></i></a></li>
2930
<li><a href="https://swe-rex.com/latest/" class="nav-link" data-page="swe-rex"><img src="img/swe-rex-icon.svg" alt="SWE-ReX icon" class="sidebar-family-icon">SWE-ReX <i class="fas fa-external-link-alt"></i></a></li>
3031
<li><a href="https://swebench.com/sb-cli/" class="nav-link" data-page="sb-cli"><img src="img/sb-cli-icon.svg" alt="SWE-bench CLI icon" class="sidebar-family-icon">SWE-bench CLI <i class="fas fa-external-link-alt"></i></a></li>
3132
</ul>

templates/pages/contact.html

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,6 @@
44

55
{% block head_extra %}
66
<link rel="icon" href="favicon.ico" type="image/x-icon">
7-
<style>
8-
.contact-container {
9-
max-width: 600px;
10-
margin: 3rem auto;
11-
text-align: center;
12-
}
13-
14-
.contact-container p {
15-
font-size: 1.1rem;
16-
margin-bottom: 1.5rem;
17-
line-height: 1.6;
18-
}
19-
20-
.contact-container a {
21-
color: var(--color-primary);
22-
text-decoration: none;
23-
font-weight: bold;
24-
}
25-
26-
.contact-container a:hover {
27-
text-decoration: underline;
28-
}
29-
</style>
307
{% endblock %}
318

329
{% block content %}

templates/pages/index.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@
44

55
{% block head_extra %}
66
<link rel="icon" href="favicon.ico" type="image/x-icon">
7-
<style>
8-
.tabcontent .table-responsive {
9-
max-height: 60vh;
10-
overflow-y: auto;
11-
}
12-
13-
@media (max-height: 700px) {
14-
.tabcontent .table-responsive {
15-
max-height: 50vh;
16-
}
17-
}
18-
</style>
197
{% endblock %}
208

219
{% block js_files %}
@@ -39,6 +27,19 @@
3927
</header>
4028

4129
<section class="container">
30+
31+
<a href="https://swesmith.com/">
32+
<div class="announcement-container">
33+
<p><img src="img/swe-smith-icon.svg" alt="SWE-smith icon" class="sidebar-family-icon"> Our new paper SWE-smith is out! Train your own models for software engineering agents. </p>
34+
</div>
35+
</a>
36+
37+
<a href="https://github.com/SWE-agent/SWE-agent">
38+
<div class="announcement-container">
39+
<p><img src="img/swe-agent-icon.svg" alt="SWE-agent icon" class="sidebar-family-icon"> SWE-agent 1.0 is the open source SOTA on SWE-bench Lite!</p>
40+
</div>
41+
</a>
42+
4243
<div class="content-section" id="leaderboard">
4344
<h2>All Leaderboards</h2>
4445
<div class="leaderboard-tabs">

0 commit comments

Comments
 (0)