This commit is contained in:
Lars committed 2026-08-25 17:16:35 +02:00
1 parent fd7102e3b3
commit 60f0d2830d
17 files changed
+1502 -257

No files matched your search

+5 -3
View File
@@ -195,12 +195,14 @@ def _validate_response(content: str, mappings: list[dict] | None = None) -> str:
def _fake_complete(purpose: str, rendered: str) -> str:
if purpose == "profile_review":
return (
'{"kind":"kansho.profile_review_result","format_version":1,"target":"writing",'
'{"kind":"kansho.profile_analysis_result","format_version":1,"target":"writing",'
'"evidence_basis":["kansho_sources"],'
'"changes":[{"layer":"trait","key":"dry_humor","slug":"dry_humor","facet_key":"autobiographical_journal",'
'"action":"create","label":"Trockener Humor",'
'"action":"add","label":"Trockener Humor",'
'"proposed_value":"gelegentlich trocken, nie aufgesetzt",'
'"evidence_basis":["kansho_sources"],'
'"rationale":"Fake-Review: Journal-Evidenz trägt Humor in autobiographical_journal, nicht als globalen Core.",'
'"evidence_ids":[],"exemplars":[{"excerpt":"haha das war irgendwie lustig","role":"exemplar"}]}]}'
'"evidence_ids":[],"exemplars":[{"excerpt":"haha das war irgendwie lustig","role":"exemplar","evidence_basis":["kansho_sources"]}]}]}'
)
if purpose == "journal_generate":
lines = []