Skip to content

Commit c8c533a

Browse files
committed
added contrib
1 parent e31cab8 commit c8c533a

File tree

3 files changed

+69
-4
lines changed

3 files changed

+69
-4
lines changed

assets/MiniCode.pdf

3.5 MB
Binary file not shown.

index.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<head>
44
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
5+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
56
<link rel="icon" href="index_files/favicon.png" type="image/png">
67
<link rel="preconnect" href="https://fonts.googleapis.com">
78
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -47,8 +48,9 @@ <h1>Refactoring Codebases through Library Design</h1>
4748

4849
<nav>
4950
<ul>
50-
<li><a href="https://code-refactor.github.io/assets/MiniCode.pdf" target="_blank" class="nav-button"><i class="fa-solid fa-file-pdf"></i> Paper</a></li>
51-
<li><a href="https://github.com/code-refactor" target="_blank" class="nav-button"><i class="fa-brands fa-github"></i> Code</a></li>
51+
<li><a href="https://arxiv.org/abs/2506.11058" target="_blank" class="nav-button"><i class="ai ai-arxiv"></i> arXiv</a></li>
52+
<li><a href="https://github.com/code-refactor/minicode" target="_blank" class="nav-button"><i class="fa-brands fa-github"></i> MINiCODE</a></li>
53+
<li><a href="https://github.com/code-refactor/Librarian" target="_blank" class="nav-button"><i class="fa-brands fa-github"></i> LIBRARIAN</a></li>
5254
<li><a href="#citation" class="nav-button"><i class="fa-solid fa-quote-right"></i> Citation</a></li>
5355
</ul>
5456
</nav>
@@ -67,6 +69,18 @@ <h2 id="abstract">Abstract</h2>
6769
<p>Maintainable and general software allows developers to build robust applications efficiently, yet achieving these qualities often requires refactoring specialized solutions into reusable components. This challenge becomes particularly relevant as code agents become increasingly accurate at solving isolated programming problems. We investigate code agents' capacity to refactor code in ways supporting growth and reusability. We present both a method and a benchmark for refactoring: Librarian, a sample-and-rerank method for generating reusable libraries, and Minicode, a benchmark where code agents must minimize and refactor multiple independent solutions into a joint library. Compared to state-of-the-art code agents, Librarian achieves strong results on both compression and correctness on Minicode, obtaining compression rates 1.6-2x better than coding agents while also improving correctness. We open-source our code, benchmark, and benchmark scripting.</p>
6870
</section>
6971

72+
<section>
73+
<h2 id="contributions">Key Contributions</h2>
74+
<div class="contributions-grid">
75+
<a href="https://github.com/code-refactor/Librarian" target="_blank" class="contribution-box">
76+
<p><strong>LIBRARIAN</strong> is a novel sample-and-rerank method that refactors codebases into reusable libraries. It clusters code to find shared structures, samples refactorings, and ranks them by simplicity and correctness. It achieves 1.6-2x better compression than top code agents while boosting accuracy.</p>
77+
</a>
78+
<a href="https://github.com/code-refactor/minicode" target="_blank" class="contribution-box">
79+
<p><strong>MINiCODE</strong> is a new benchmark for testing code agents' ability to create unified libraries from multiple code sources. It emphasizes open-ended design, verifiable correctness via unit tests, and large-context synthesis. It spans competition coding and synthesized repositories, filling gaps in existing benchmarks.</p>
80+
</a>
81+
</div>
82+
</section>
83+
7084
<!-- <section>
7185
<h2 id="video">Video</h2>
7286
<iframe height="528" src="#" title="Supplemental video" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

style.css

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ h1 {
4242
}
4343

4444
h2 {
45-
font-size: 1.2em;
45+
font-size: 1.5em;
4646
text-align: center;
47-
margin: 0.75em 0;
47+
margin: 2em 0 0.75em 0;
4848
}
4949

5050
/* Links */
@@ -58,6 +58,12 @@ a:hover {
5858
}
5959

6060
/* Navigation */
61+
nav {
62+
text-align: center;
63+
display: flex;
64+
justify-content: center;
65+
}
66+
6167
nav > ul {
6268
margin: 1em 0 1.5em 0;
6369
list-style-type: none;
@@ -286,4 +292,49 @@ footer {
286292
.author-notes {
287293
font-size: 0.8em;
288294
}
295+
}
296+
297+
/* Key Contributions section */
298+
.contributions-grid {
299+
display: grid;
300+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
301+
gap: 1.5em;
302+
margin: 1.5em 0;
303+
}
304+
305+
.contribution-box {
306+
background-color: var(--nord5);
307+
border: 2px solid var(--nord4);
308+
border-radius: 8px;
309+
padding: 1.5em;
310+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
311+
transition: all 0.3s ease;
312+
}
313+
314+
.contribution-box:hover {
315+
transform: translateY(-2px);
316+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
317+
border-color: var(--nord9);
318+
}
319+
320+
.contribution-box h3 {
321+
color: var(--nord10);
322+
font-size: 1.3em;
323+
margin: 0 0 0.8em 0;
324+
font-weight: 600;
325+
text-align: center;
326+
}
327+
328+
.contribution-box p {
329+
margin: 0;
330+
line-height: 1.6;
331+
color: var(--nord1);
332+
}
333+
334+
.contribution-box strong {
335+
color: var(--nord10);
336+
font-weight: 700;
337+
background-color: rgba(94, 129, 172, 0.1);
338+
padding: 0.1em 0.3em;
339+
border-radius: 3px;
289340
}

0 commit comments

Comments
 (0)