Skip to content

Commit 794f534

Browse files
authored
Merge pull request #608 from Merit-Systems/mason/rm-old-evals-origin
feat: deleting old evals, making origins programmatic
2 parents 886841b + 59be12b commit 794f534

20 files changed

Lines changed: 208 additions & 7026 deletions

.changeset/curvy-ravens-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@x402scan/mcp': patch
3+
---
4+
5+
Made origins programmatic. No behavior change.

knip.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ const config: KnipConfig = {
6767
},
6868
'examples/servers/express': {},
6969
'examples/servers/hono': {},
70-
'packages/external/mcp': {
71-
ignoreDependencies: ['@anthropic-ai/claude-agent-sdk', 'promptfoo'],
72-
ignore: ['evals/**'],
73-
},
70+
'packages/external/mcp': {},
7471
},
7572
ignore: [
7673
'**/*.test.{ts,tsx,js,jsx}',

packages/external/mcp/README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,23 +148,18 @@ Results are posted back to your PR with a link to detailed metrics.
148148

149149
### Local Evaluation
150150

151-
For local development, you can run evals directly:
152-
153-
```bash
154-
# Run local evals in this package
155-
pnpm evals
156-
157-
# Or run smoke tests
158-
pnpm evals:single-prompt
159-
```
160-
161-
For the full CI/CD eval suite, clone [x402-evals](https://github.com/merit-systems/x402-evals) and run:
162-
163151
```bash
164152
# In x402-evals repo
165153
MCP_SERVER_DIR=/path/to/x402scan/packages/external/mcp/dist/esm pnpm --filter @x402-evals/promptfoo eval
166154
```
167155

156+
### Evals on changes to enrichx402 or stablestudio
157+
158+
1. Make a PR in enrichx402 and generate a preview URL with vercel
159+
2. Make a branch in the x402scan repo
160+
3. Replace the enrichx402.com URL in `src/shared/origins.ts` with your preview URL
161+
4. Push and make a PR, then comment on it with "/eval full" (or smoke, regression)
162+
168163
## Publishing
169164

170165
This package uses [changesets](https://github.com/changesets/changesets) for versioning and publishing.

packages/external/mcp/evals/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/external/mcp/evals/README.md

Lines changed: 0 additions & 111 deletions
This file was deleted.

packages/external/mcp/evals/compare-prompts.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)