|
All checks were successful
Forgejo Android APK / Build signed APK (push) Successful in 1m52s
Three rendering defects in the clinical assistant, all confirmed by running the
code rather than reading it.
A spaced hyphen anywhere in a sentence was rewritten as a list item, so every
numeric range written that way was split in two:
"Give dexamethasone 0.15 - 0.6 mg/kg orally."
-> "Give dexamethasone 0.15\n- 0.6 mg/kg orally."
which renders as a truncated sentence followed by a bullet, and a dose range
therefore reads as a different dose. The same applied to SpO2 targets, pH ranges
and age ranges. A hyphen now starts a list item only at the beginning of a line
or after sentence punctuation, which still catches the case the rule was written
for.
An answer ending in a bold phrase lost its closing marker, because trailing
emphasis was stripped unconditionally and the strip ran twice. Only an unpaired
marker is removed now.
Inline maths swallowed dollar amounts: "Costs $5 to $10 per dose" rendered the
text between the signs as an equation and dropped both signs. A $...$ span is
now treated as maths only when it contains something mathematical, so subscripts
and fractions still render.
Citation handling is unchanged and covered by the same tests: clusters still
merge and sort, unknown source numbers stay literal, links still resolve by index,
and bare numbers in a table's Source column still become bracketed tokens.
The state before these fixes is tagged pre-citation-fixes-20260828.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| admin-docs-toc.test.js | ||
| assistant-citations.test.js | ||
| assistant-image-intent.test.js | ||
| assistant-sources-cleaning.test.js | ||
| backend-hardening.test.js | ||
| bedside-respiratory-ventilation.test.js | ||
| calc-math.test.js | ||
| calculators-data.test.js | ||
| clinical-assistant-prompt-pool.test.js | ||
| clinical-generation-options.test.js | ||
| clinical-notes-entrypoints.test.js | ||
| clinical-retrieval-title.test.js | ||
| embeddings-provider.test.js | ||
| extension-transfer.test.js | ||
| frontend-rendering-safety.test.js | ||
| learning-hub-ai-category.test.js | ||
| learning-hub-ai-panel-controller.test.js | ||
| learning-hub-editor.test.js | ||
| learning-hub-quiz-controller.test.js | ||
| learning-hub-webdav-controller.test.js | ||
| metrics.test.js | ||
| model-defaults.test.js | ||
| module-entrypoints.test.js | ||
| notes-sanitize.test.js | ||
| pe-guide-data.test.js | ||
| stt-provider.test.js | ||
| transcription-memory-policy.test.js | ||
| tts-provider.test.js | ||
| well-visit-data.test.js | ||