Repository navigation
Conversation
Benchmarks and hardware qualification scripts are moving to lucebox_bench in luce_box, protocol coverage already lives under server/test/python/, and the remaining client_test_runner.py sweep profiles and Qwen3.6/RTX 3090 launchers are stale. Remove harness/ along with its CI rules, CTest entries, ruff/pytest paths, and doc links. Relocate the shared math_scoring helper still imported by server/scripts/bench_llm.py (and bench_server.py) to server/scripts/math_scoring.py with its regression test in server/test/python/test_math_scoring.py.
davide221
left a comment
There was a problem hiding this comment.
Code review
No issues found. Checked for bugs and logic errors in the changed code.
Reviewed 79c54deb · 1 candidate issue checked, kept at ≥70% confidence · add the code-review label to review again
There was a problem hiding this comment.
2 issues found across 77 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="pyproject.toml">
<violation number="1" location="pyproject.toml:25">
P3: Moving `math_scoring.py` into `server/scripts` drops it out of the ruff gate, since `server/scripts` is not in `include`. Either add that file to `include`, or accept that this module is no longer linted.</violation>
</file>
<file name="server/docs/DS4.md">
<violation number="1" location="server/docs/DS4.md:898">
P3: These settings use the deleted wrapper's shell variable names, not the `LUCE_*` environment variables documented above and in the knobs table. Use the real env var names so readers can map the burn-in settings to the variables they set.</violation>
</file>
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
View guided diff | Re-trigger cubic
| # carries pre-existing style debt and is added to `include` as it is cleaned | ||
| # up. Vendored deps stay excluded permanently (extend-exclude below). | ||
| include = ["harness/**/*.py", "scripts/**/*.py", "conftest.py", "server/test/python/**/*.py"] | ||
| include = ["scripts/**/*.py", "conftest.py", "server/test/python/**/*.py"] |
There was a problem hiding this comment.
P3: Moving math_scoring.py into server/scripts drops it out of the ruff gate, since server/scripts is not in include. Either add that file to include, or accept that this module is no longer linted.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At pyproject.toml, line 25:
<comment>Moving `math_scoring.py` into `server/scripts` drops it out of the ruff gate, since `server/scripts` is not in `include`. Either add that file to `include`, or accept that this module is no longer linted.</comment>
<file context>
@@ -18,11 +18,11 @@ dev = ["pytest>=8", "mypy>=1.10,<2", "ruff>=0.14,<1"]
# carries pre-existing style debt and is added to `include` as it is cleaned
# up. Vendored deps stay excluded permanently (extend-exclude below).
-include = ["harness/**/*.py", "scripts/**/*.py", "conftest.py", "server/test/python/**/*.py"]
+include = ["scripts/**/*.py", "conftest.py", "server/test/python/**/*.py"]
extend-exclude = [
"server/deps",
</file context>
| was collected with `CRITICAL_PATH_PLACEMENT=1`, `MAIN_TO_PEER_RATE=4.4`, | ||
| `BALANCE_MIN_HOT=0`, `EXPERT_BUDGET_MB=14350`, and automatic q=5 MMVQ/cache/kernel |
There was a problem hiding this comment.
P3: These settings use the deleted wrapper's shell variable names, not the LUCE_* environment variables documented above and in the knobs table. Use the real env var names so readers can map the burn-in settings to the variables they set.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At server/docs/DS4.md, line 898:
<comment>These settings use the deleted wrapper's shell variable names, not the `LUCE_*` environment variables documented above and in the knobs table. Use the real env var names so readers can map the burn-in settings to the variables they set.</comment>
<file context>
@@ -894,25 +894,11 @@ export LUCE_DS4_TP_MAIN_TO_PEER_RATE=4.4
-qualified deterministic-workload hash when intentionally testing another
-compatible artifact.
+The historical August 2026 exact-context burn-in (`2K -> 4K -> 8K -> 16K -> 2K`)
+was collected with `CRITICAL_PATH_PLACEMENT=1`, `MAIN_TO_PEER_RATE=4.4`,
+`BALANCE_MIN_HOT=0`, `EXPERT_BUDGET_MB=14350`, and automatic q=5 MMVQ/cache/kernel
+defaults (the standalone qualification and `rocprofv3` overlap scripts were later
</file context>
| was collected with `CRITICAL_PATH_PLACEMENT=1`, `MAIN_TO_PEER_RATE=4.4`, | |
| `BALANCE_MIN_HOT=0`, `EXPERT_BUDGET_MB=14350`, and automatic q=5 MMVQ/cache/kernel | |
| was collected with `LUCE_DS4_TP_CRITICAL_PATH_PLACEMENT=1`, `LUCE_DS4_TP_MAIN_TO_PEER_RATE=4.4`, | |
| `LUCE_DS4_TP_BALANCE_MIN_HOT=0`, `LUCE_EXPERT_BUDGET_MB=14350`, and automatic q=5 MMVQ/cache/kernel |
CI failed on
|
Summary
harness/directory (benchmarks and qualification scripts belong inlucebox_benchunderluce_box, HTTP protocol coverage already lives inserver/test/python/, and the remainingclient_test_runner.pysweep profiles and Qwen3.6/RTX 3090 client launchers are stale).harness/math_scoring.py->server/scripts/math_scoring.py(still imported byserver/scripts/bench_llm.pyandserver/scripts/bench_server.py) along with its regression testserver/test/python/test_math_scoring.py.harness/references across CI (.github/ci/ci_plan.py,.github/workflows/ci.yml,.github/workflows/docker.yml,.githooks/pre-push),server/CMakeLists.txtCTest entries,pyproject.toml,.gitignore,Dockerfile, and documentation (README.md,server/README.md,server/docs/DS4.md,optimizations/kvflash/RESULTS.md,variables.md).Verification
python3 -m unittest server/test/python/test_math_scoring.py(15 tests OK)bench_llmandbench_serverimports.github/ci/test_docs_paths.py,.github/ci/test_ci_plan.py,.github/ci/check_commit_messages.py, and workflow YAML parsing