czat: karta osoby domyślnie włączona po rundzie 2

Runda 2 (testy/czat-graf/RUNDA2.md, 11.11, ślepy sędzia na wszystkich turach): karta osoby
z zespołu podniosła pełne odpowiedzi na pytaniach o osoby z 4% do 46% (Qwen 3.5 9B) i z 17%
do 67% (Bielik 11B v3), bez fałszywych połączeń, bez wzrostu zmyśleń i bez regresji na
pokazówce. Jedyny niezdany próg (Qwen, 2 pytania kontrolne gorzej) padł przy wejściu do
modelu identycznym z ramieniem bez mapy, czyli na szumie. Pełna mapa (graf: true) na Qwenie
drugi raz obniżyła trafne „nie ma”, więc zostaje za przełącznikiem. Decyzja Tobiasza.

Domyślnie chat.graf ?? 'osoba'; true = pełna mapa, false = bez mapy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uwxqFLC3q51VqQzdfk12g
(cherry picked from commit 2316c2bc4c)
This commit is contained in:
tobayah
2026-11-12 20:39:44 +01:00
parent cb79063de8
commit d5023ca0fe
+3 -1
View File
@@ -3583,7 +3583,9 @@ const CHAT_ADVICE = /naj(?:ważn|piln|pierw)|priorytet|co\s+(?:\p{L}+\s+){0,3}?(
// and returns `answer`; `turns` are the turns before this question; the page renders through `onUpdate`.
// The evaluation harness (testy/czat-v2/run.mjs) runs this very function from Node, so no DOM in here.
async function chatTurn({ model, question, turns, index, answer = { role: 'assistant', content: '', status: '', refs: [], trace: [] }, onUpdate = () => {},
graf = chat.graf === true }) {
// Default 'osoba' after round 2 (testy/czat-graf/RUNDA2.md): the team member's card helped both Qwen and Bielik;
// the full map (true) cost Qwen its "nie ma" answers twice. false switches the map off entirely.
graf = chat.graf ?? 'osoba' }) {
const done = (content, extra = {}) => Object.assign(answer, { content, status: '', ...extra });
try {
// "Umowa o dzieło" in a question about the law is not a question about Compass's contracts.