Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
244 changes: 118 additions & 126 deletions README.md

Large diffs are not rendered by default.

292 changes: 153 additions & 139 deletions site/css/site.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions site/diff.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Files And Diffs</title>
<meta name="description" content="The files two loops changed, and their diffs side by side, or against the merged pull request.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
</head>
Expand Down
3 changes: 3 additions & 0 deletions site/downloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Loop Bench Downloads</title>
<meta name="description" content="The raw records and the aggregated data behind every page.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
</head>
<body>
Expand Down
3 changes: 3 additions & 0 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Loop Bench</title>
<meta name="description" content="Which model runs each station of Lore's implementation loop best: cost, time and judged quality per harness and model, with and without Lore.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion site/js/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function storeTheme(theme) {
}

const currentTheme = () => document.documentElement.dataset.theme || 'dark';
const themeLabel = () => (currentTheme() === 'dark' ? '[light]' : '[dark]');
const themeLabel = () => (currentTheme() === 'dark' ? 'Light' : 'Dark');

function renderNav() {
const here = location.pathname.split('/').pop() || 'index.html';
Expand Down
2 changes: 1 addition & 1 deletion site/js/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { cellName, el, header, isDone, loadBench, mount, panel, readHash, two, u
import { isTestPath, parsePatch } from './patch.js';

const bench = await mountChrome(loadBench);
document.getElementById('header').append(header('FILES & DIFFS'));
document.getElementById('header').append(header('Files and diffs'));
const app = document.getElementById('app');

/** Every branch a side can show: each replicate of each finished cell, then each ticket's merged pull request. */
Expand Down
2 changes: 1 addition & 1 deletion site/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { mdToHtml } from './markdown.js';
const FRONT_METRICS = ['green', 'rounds', 'cost', 'time', 'correct', 'complete', 'close'].map((key) => METRICS.find((m) => m.key === key));

const bench = await mountChrome(loadBench);
document.getElementById('header').append(header('WHICH MODEL RUNS EACH STATION BEST'));
document.getElementById('header').append(header('Which model runs each station best'));
const app = document.getElementById('app');
const done = bench.cells.filter(isDone);

Expand Down
7 changes: 1 addition & 6 deletions site/js/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,7 @@ export function panel(title, ...children) {
return box;
}

export function header(title) {
const inner = Math.max(title.length + 4, 32);
const node = el('div', { class: 'header-box' });
node.append('╔' + '═'.repeat(inner) + '╗\n║ ', el('span', { class: 'title' }, title), ' '.repeat(inner - 2 - title.length) + '║\n╚' + '═'.repeat(inner) + '╝');
return node;
}
export const header = (title) => el('h1', { class: 'page-title' }, title);

export const money = (v) => (v == null ? '–' : `$${v.toFixed(2)}`);
export const minutes = (v) => (v == null ? '–' : `${v.toFixed(1)} min`);
Expand Down
2 changes: 1 addition & 1 deletion site/js/lore.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const LABEL_LINE = 14;
const ALL = 'all';

const bench = await mountChrome(loadBench);
document.getElementById('header').append(header('KNOWLEDGE BASE: NONE VS LORE VS UTOPIA'));
document.getElementById('header').append(header('Knowledge base: none vs Lore vs Utopia'));
const app = document.getElementById('app');
const byId = new Map(bench.cells.map((cell) => [cell.id, cell]));
const stations = unique(bench.lorePairs.map((pair) => pair.station));
Expand Down
2 changes: 1 addition & 1 deletion site/js/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const COLUMNS = [
];

const bench = await mountChrome(loadBench);
document.getElementById('header').append(header('RESULTS MATRIX'));
document.getElementById('header').append(header('Results matrix'));
const app = document.getElementById('app');
const state = { sort: 'cost', dir: 'asc', ...readHash() };
const selected = () => (state.sel ? state.sel.split(',') : []);
Expand Down
2 changes: 1 addition & 1 deletion site/js/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ import { mountChrome } from './chrome.js';
import { header, loadBench } from './lib.js';

await mountChrome(loadBench);
document.getElementById('header').append(header(document.title.toUpperCase()));
document.getElementById('header').append(header(document.title));
2 changes: 1 addition & 1 deletion site/js/stations.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mountChrome } from './chrome.js';
import { el, harnessMark, markOf, header, loadBench, loreTag, minutes, money, panel, spreadNode, unique, whole, mount } from './lib.js';

const bench = await mountChrome(loadBench);
document.getElementById('header').append(header('STATION VISITS'));
document.getElementById('header').append(header('Station visits'));
const app = document.getElementById('app');

function stationTable(rows) {
Expand Down
2 changes: 1 addition & 1 deletion site/js/tradeoff.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const X_AXES = {
};

const bench = await mountChrome(loadBench);
document.getElementById('header').append(header('COST VS QUALITY'));
document.getElementById('header').append(header('Cost vs quality'));
const app = document.getElementById('app');
const state = { x: 'cost', ...readHash() };

Expand Down
3 changes: 3 additions & 0 deletions site/lore.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lore On Versus Off</title>
<meta name="description" content="Each model run with and without the Lore MCP server: cost, time, rounds and judge scores.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
</head>
<body>
Expand Down
3 changes: 3 additions & 0 deletions site/methodology.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Loop Bench Methodology</title>
<meta name="description" content="How the loop bench replays tickets, varies one station at a time and scores each loop.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
</head>
<body>
Expand Down
3 changes: 3 additions & 0 deletions site/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Loop Bench Results</title>
<meta name="description" content="Every cell of the bench, filterable by station, harness, model and Lore, with side-by-side comparison.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
</head>
<body>
Expand Down
3 changes: 3 additions & 0 deletions site/stations.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Station Visits</title>
<meta name="description" content="Cost, time, tokens, tool calls and failures per station and model.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
</head>
<body>
Expand Down
3 changes: 3 additions & 0 deletions site/tradeoff.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cost Versus Quality</title>
<meta name="description" content="Judged quality against cost or time per loop for every cell of the bench.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
<link rel="stylesheet" href="css/site.css">
</head>
<body>
Expand Down
Loading