Skip to content

Commit 870322d

Browse files
committed
Merge remote-tracking branch 'origin/main' into rubric-update
# Conflicts: # docs/QUALITY_SCORE.md # docs/generated/workspace-inventory.md # tests/unit/persistence/postgres-backend.test.ts
2 parents c406bd5 + a61df07 commit 870322d

39 files changed

Lines changed: 3122 additions & 1717 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
.agentprobe/
3+
.agentprobe.backup/
34
node_modules/
45
.tmp-agentprobe-e2e-*/
56
.venv/

dashboard/dist/index.html

Lines changed: 95 additions & 95 deletions
Large diffs are not rendered by default.

dashboard/src/App.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ import {
7575
ScenarioDetailsModal,
7676
type ScenarioDetailsTarget,
7777
} from "./views/ScenarioDetailsModal.tsx";
78+
import { ScoreIndexView, ScoreSessionView } from "./views/ScoreView.tsx";
7879

7980
type AppMode = "detecting" | "live" | "server";
8081

@@ -2109,6 +2110,20 @@ function ServerDashboard() {
21092110
if (pathname === "/compare") {
21102111
return <CompareView />;
21112112
}
2113+
if (pathname === "/score") {
2114+
return <ScoreIndexView request={request} navigate={navigate} />;
2115+
}
2116+
const scoreSessionMatch = pathname.match(/^\/score\/([^/]+)\/([^/]+)$/);
2117+
if (scoreSessionMatch) {
2118+
return (
2119+
<ScoreSessionView
2120+
rubricId={decodeURIComponent(scoreSessionMatch[1] ?? "")}
2121+
dimensionId={decodeURIComponent(scoreSessionMatch[2] ?? "")}
2122+
request={request}
2123+
navigate={navigate}
2124+
/>
2125+
);
2126+
}
21122127
const scenarioMatch = pathname.match(
21132128
/^\/runs\/([^/]+)\/scenarios\/([0-9]+)$/,
21142129
);
@@ -2171,6 +2186,11 @@ function ServerDashboard() {
21712186
label: "Runs",
21722187
isActive: (p) => p === "/runs" || p.startsWith("/runs/"),
21732188
},
2189+
{
2190+
href: "/score",
2191+
label: "Score",
2192+
isActive: (p) => p === "/score" || p.startsWith("/score/"),
2193+
},
21742194
{
21752195
href: "/presets",
21762196
label: "Presets",

0 commit comments

Comments
 (0)