DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to measure your own session with the graded metrics script with DSH Routing Suite

Run the measurement script on a session log to get numeric metrics without exposing the session content.

Short answer: Clone the repository and open the graded folder; then export your session to a .jsonl file; run node scripts/measure.mjs 你的会话.jsonl from the graded folder, replacing the file name with your session file. All steps.

Who it is forA developer or researcher who wants to check how a long agent session behaved and compare it with the published figures.

The problemJudging long-session attention drop or protocol effects by reading raw logs is slow, and sharing the raw log can expose private content.

The outcomeA list of computed metrics for the session, printed as numbers only, that can be compared with the published tables in DATA.md.

What you need first

  • DSH CLI installed, version >=0.1.0-rc.6 (the README lists this as the DSH target; DSH is in developer preview with possible breaking changes)
  • PowerShell for the README install commands (install.ps1 and the Copy-Item steps)
  • git, to clone the repository for the manual install path
  • Node.js, to run graded/scripts/measure.mjs (inferred from the node command in the README)

Steps

  1. Clone the repository and open the graded folder.
  2. Export your session to a .jsonl file.
  3. Run node scripts/measure.mjs 你的会话.jsonl from the graded folder, replacing the file name with your session file.
  4. Compare the printed numbers with the tables in graded/docs/DATA.md.

Prompt for your agent

In the repository yjh051108/dsh-routing-suite, go to the graded folder and run `node scripts/measure.mjs <session-file>.jsonl` on the session file <session-file>.jsonl. Return only the numeric output. Verify that the output contains numbers only and no session text.

Caveat. The script needs a session log in .jsonl format, and the README does not say how to export one from DSH, so you must find that step yourself.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for yjh051108/dsh-routing-suite and "Measure your own session with the graded metrics script"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer