This commit is contained in:
Your Name
2026-10-27 14:03:35 +08:00
parent 7986e4baf5
commit f9cbd42113
417 changed files with 71876 additions and 5344 deletions
@@ -176,7 +176,8 @@ $manifest = $snapshot['source_summary']['required_sections'];
requiredSourceExpect(array_column($manifest, 'key') === array_keys(AiRequiredSource::LABELS), 'every required section appears in fixed order');
foreach ($manifest as $section) requiredSourceExpect($section['availability'] === 'present', $section['key'] . ' has its actual records');
requiredSourceExpect($snapshot['diagnoses'][0]['past_history_text'] === '自定义既往史完整标记', 'dictionary labels are loaded without dropping source codes');
requiredSourceExpect($snapshot['diagnoses'][0]['trauma_history_text'] === '无', 'documented negative history is explicitly labelled');
requiredSourceExpect($snapshot['diagnoses'][0]['trauma_history'] === 0
&& $snapshot['diagnoses'][0]['trauma_history_text'] === '未记录', 'legacy zero preserves its raw code without inventing an interview denial');
requiredSourceExpect(count($snapshot['daily_records']['blood_glucose_pressure']) === 240, 'all old and same-day daily rows are retained without UI window or pagination');
requiredSourceExpect(count($snapshot['video_calls']) === 1 && $snapshot['source_summary']['transcript_segment_count'] === 2,
'only authorized ended past video and its segments are included');