Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

Pulse `/synapse` renders grades as `N/10` while the documented scale is 1-100

Open mj-deving opened this issue 2 months ago • 2 comments

Version

LifeOS 7.40.4 / Pulse

What is broken

The Synapse stream page prints every grade as <score>/10, both in the row tooltip and in the row label. The only grader scale the shipped docs name is 1-100: the Feed label+rate grader's quality_score 1–100. The docs never state a scale for the Synapse grade itself. On a live install, graded rows render as 68/10, 82/10 and 90/10, which fits a 1-100 scale. The page passes the ledger value through unchanged (modules/synapse.ts:293), so the fix is in the label, not the data.

Where (file:line)

LifeOS/install/LIFEOS/PULSE/Observability/src/app/synapse/page.tsx:550,588. The scale is stated in LifeOS/install/LIFEOS/DOCUMENTATION/Synapse/SynapseSystem.md:127.

Repro on a clean tree

rg -n '\$\{it\.score\}/10|/10 against' LifeOS/install/LIFEOS/PULSE/Observability/src/app/synapse/page.tsx
rg -n '1–100' LifeOS/install/LIFEOS/DOCUMENTATION/Synapse/SynapseSystem.md

Negative control

On unpatched 7.40.4 the first command prints 550: title={\graded ${it.score}/10 against TELOS`}and588: {it.score !== null ? `${it.score}/10` : "ungraded"}, and the second prints the 1-100 scale at line 127. A graded row with score 68 renders as 68/10`.

Suggested fix

Replace /10 with /100 at both lines. Untested beyond reading. The graders run as Arbol workers that are not in this repo, so a maintainer should confirm that 1-100 is the scale every grader writes.

Before submitting

  • [X] I searched open and closed issues for this defect.
  • [X] The repro runs against a clean tree of the version above, not against my modified install.
  • [X] I removed personal data from the pasted output — real names, absolute home paths, tokens, my own content.

mj-deving avatar Sep 27 '26 13:09 mj-deving

Thanks @mj-deving. Confirmed: the /synapse row label and tooltip still print the raw ledger score with a /10 suffix, and values like 68 or 90 point to a 1-100 scale. I want to confirm the scale every grader writes before changing the label, so this stays open and is tracked.

danielmiessler avatar Oct 03 '26 04:10 danielmiessler

[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler

Thanks @mj-deving. The open question was which scale the graders write, and the answer is 0 to 10. Only the amber router writes the ledger grade. It asks the model for an integer from 0 to 10 and clamps the answer to that range, and the page's color thresholds at 5 and 8 assume the same scale. The doc gap you found is closed in 8.761.0: SynapseSystem.md now says the Synapse grade is an integer from 0 to 10. The 1-100 figure in that doc is the Feed grader's own quality_score.

So /10 is the correct label, and changing it to /100 would mislabel every real grade. The grading workers aren't in the public repo. Your rows with 68, 82 and 90 mean some other grader on your install wrote 1-100 values into the ledger score, and that grader is the thing to fix. Closing.

danielmiessler avatar Oct 28 '26 17:10 danielmiessler