[PR #2601] [CLOSED] docs/COMMUNITY_BENCHMARKS.md: keep the expert profile fixed while measuring, and the measured prompts out of a profile's traces (#2088) #4155

Closed
opened 2026-11-07 15:33:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2601
Author: @qiuzan2001
Created: 10/15/2026
Status: ❌ Closed

Base: main ← Head: chief-bench/bench-pin-profile-doc


📝 Commits (1)

  • 2ce06e4 docs/COMMUNITY_BENCHMARKS.md: keep the expert profile fixed while measuring, and the measured prompts out of a profile's traces (#2088)

📊 Changes

1 file changed (+16 additions, -0 deletions)

View changed files

📝 docs/COMMUNITY_BENCHMARKS.md (+16 -0)

📄 Description

Docs only: one paragraph in docs/COMMUNITY_BENCHMARKS.md ("How to measure"), the line #2088 left open.

What it says: keep the expert profile fixed while measuring (--expert-profile FILE, no profile save); a save, by --expert-profile-save or by the config's "expert_profile_save", writes at the server's stop and every 10 minutes; since 0.1.43.1 the bench removes --expert-profile-save from a server it starts, but not the config key, and a server you start yourself keeps both; the start-up line names the profile; and a profile built from routing traces must not contain the prompts it is measured with (the second point of #2088).

What it leaves alone: no code. The bench still does not remove the config's "expert_profile_save" key from a server it starts (tools/strata_bench.py:668-681 strips only the argument; serve/server.py:2645-2652 adds the argument back from the key). The paragraph says so instead of changing the tool.

How it was checked: each claim read against the code at 296b59d2: src/program/generate.cpp:869-872 (save at QUIT and every --expert-profile-save-every minutes, default 10) and :3697 (the start-up line), serve/server.py:2645-2652, tools/strata_bench.py:668-695, git tag --contains 017a672a (v0.1.43.1 and later), and the three tools exist. A second reader checked the claims against the same lines.

Closes #2088 once the maintainer agrees the line is enough.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2601 **Author:** [@qiuzan2001](https://github.com/qiuzan2001) **Created:** 10/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chief-bench/bench-pin-profile-doc` --- ### 📝 Commits (1) - [`2ce06e4`](https://github.com/Niko1221/Strata/commit/2ce06e4e8a583de8c7f30a7fd8b73f773983f30e) docs/COMMUNITY_BENCHMARKS.md: keep the expert profile fixed while measuring, and the measured prompts out of a profile's traces (#2088) ### 📊 Changes **1 file changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/COMMUNITY_BENCHMARKS.md` (+16 -0) </details> ### 📄 Description Docs only: one paragraph in `docs/COMMUNITY_BENCHMARKS.md` ("How to measure"), the line #2088 left open. **What it says:** keep the expert profile fixed while measuring (`--expert-profile FILE`, no profile save); a save, by `--expert-profile-save` or by the config's `"expert_profile_save"`, writes at the server's stop and every 10 minutes; since 0.1.43.1 the bench removes `--expert-profile-save` from a server it starts, but not the config key, and a server you start yourself keeps both; the start-up line names the profile; and a profile built from routing traces must not contain the prompts it is measured with (the second point of #2088). **What it leaves alone:** no code. The bench still does not remove the config's `"expert_profile_save"` key from a server it starts (`tools/strata_bench.py:668-681` strips only the argument; `serve/server.py:2645-2652` adds the argument back from the key). The paragraph says so instead of changing the tool. **How it was checked:** each claim read against the code at `296b59d2`: `src/program/generate.cpp:869-872` (save at QUIT and every `--expert-profile-save-every` minutes, default 10) and `:3697` (the start-up line), `serve/server.py:2645-2652`, `tools/strata_bench.py:668-695`, `git tag --contains 017a672a` (v0.1.43.1 and later), and the three tools exist. A second reader checked the claims against the same lines. Closes #2088 once the maintainer agrees the line is enough. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:33:40 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4155
No description provided.