docs, tests: say what the branch does, and test what the docs say

Review found four places where the branch's prose had outrun its code:

  - docs/GUIDE.md 4.10 promised that an incompatible sidecar "stops startup" two
    sentences after promising it is "reported and skipped" (the code warns and
    serves without it), and claimed deployment-level bit-identity for a request
    without the vector, which the PR explicitly withdraws. Both now say what the
    engine does; the wording is core/cvec.h's, which already had it right.
  - cvec_test claimed discovery order and a range past the model in the PR, but
    neither case existed. Both are there now, reusing the file writer and load()
    the file already had, so discovery -- the branch's policy choice -- has
    coverage at all.
  - the libr4d row descriptions still said "experimental speed projection" after
    the naming commit, and pointed at the unit that no longer exists;
    ref_hc.cpp's comment had a duplicated clause.
  - /stats' `n_layers` reported the direction count (47 of 48 layers); it is the
    model's layer count now, with first/last carrying the range.

The alias is read before the field's own name, so a request that sends both is
read as `control_vector`, and engine.cpp's /server_info comment is back above
engine_info.
This commit is contained in:
C_Tamas authored and StillDeadcode committed 2026-10-21 09:26:17 +02:00
1 parent 6964d05f75
commit f3979aa538
6 files changed
+75 -20

No files matched your search

+4 -4
View File
@@ -262,10 +262,10 @@ int ref_hc_write(const RadArgs* a, RadStream) {
* patch): the dot is taken per hyper-connection stream, as `mul_mat` over a [n, hc, tokens] view
* gives it, and not on the stream mean.
*
* A row whose flag is 0 is not touched: no read, no write, so a request that did not ask for the
* vector's activations are the stock model's: no read, no write. (A deployment that merely *has* the
* table loaded is not bit-identical to one without it -- the table's VRAM moves the expert/KV plan --
* but that is placement, not this op.)
* A row whose flag is 0 is not touched: no read, no write, so an unprojected request's activations
* are the stock model's. (A deployment that merely *has* the table loaded is not bit-identical to
* one without it -- the table's VRAM moves the expert/KV plan -- but that is placement, not this
* op.)
*
* `on` is an int32 per row (core derive.cpp's `projection_on_rows`); the direction is f32. */
int ref_hc_project(const RadArgs* a, RadStream) {