Run the eval lab on Linux and document the steps

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
node.js, typescript

Research direction

Read docs/evals.md, especially “The Mac lab,” and follow its model download and server steps on Linux. Run the core 40 and trajectory evaluation commands from packages/eval, recording the scores, model SHA-256, profile ID, llama-server version, system, and CPU. Document the Linux steps and any macOS differences in docs/evals.md; done when the tested steps and run results are reported in the pull request.

Written by the indexing model from the issue text.

Description

docs help wanted

Why

AGENTS.md asks every change on the model path for eval numbers from before and after, but docs/evals.md walks through the lab on macOS only ("Elsewhere, build it from ggml-org/llama.cpp"). Tested Linux steps let more people produce those numbers, and check that accuracy carries over between machines running the same GGUF (ROADMAP.md, Now: the harness).

What to do

  1. On a Linux machine (x86_64 or arm64), get llama-server: a release build from ggml-org/llama.cpp, or one you build. Note its version (llama-server --version).

  2. Download the model at the pinned revision, as docs/evals.md shows in "The Mac lab", step 2, and check it with sha256sum instead of shasum -a 256. It must print 482db2dfdbc8ab7db3d3216fd8ef071d7381dd8547aff9933bc03312839d4d83.

  3. Start the server with the flags in step 3. Set -t to your performance cores.

  4. Run pnpm install at the repository root. Then, from packages/eval, run the core 40 with the shipped profile, and one trajectory seed:

    node --experimental-transform-types --no-warnings src/mac-eval.ts botpsy-q4-native-think256
    HERMIT_SEED=1 node --experimental-transform-types --no-warnings src/trajectory-eval.ts botpsy-q4-native-think256
    
  5. Add a short Linux part to "The Mac lab" in docs/evals.md: how you got llama-server, the sha256sum line, and anything that differed from macOS. Keep the macOS steps as they are.

Done when

  • docs/evals.md has Linux steps you ran yourself, start to finish.
  • The pull request shows, from your Linux run: the core 40 score, the trajectory score for seed 1, the model's SHA-256, the profile id, the llama-server version, and your system and CPU.
  • If a score differs from the published lab numbers (40/40 on the core set, and 120 of 120 trajectories over four seeds, so 30 of 30 per seed), the pull request says so plainly, and changes no code or case to make them match.

How to check

  • The commands above, on your machine.
  • The gates still pass: pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test. The eval package's own tests use a fake model, so they need no server.

Keep in mind

  • Docs only. No change to prompts, the router, the cases or the runners here.
  • One run at a time (docs/evals.md, rule 7). Lab timings are never phone timings.
  • You don't need the original blind sets for this, and nobody tunes on them.
  • No run logs, transcripts or paths from your machine in docs/evals.md: steps and numbers only.
Dominant language
TypeScript
Stars
11
Forks
0
Avg merge
10m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DojoCodingLabs/hermit

All issues in DojoCodingLabs/hermit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.