require linked broad research synthesis

This commit is contained in:
pewdiepie-archdaemon
2026-09-17 19:04:08 +00:00
parent e3107a645d
commit 483fdc7054
2 changed files with 15 additions and 4 deletions
+11
View File
@@ -1864,6 +1864,17 @@ def test_broad_current_web_request_covers_natural_phrasings(prompt):
assert broad_current_web_request(prompt)
def test_broad_briefing_requires_substance_and_clickable_source_links():
from src.clean_agent_preview import incomplete_broad_web_answer
substantial = ' '.join(['substantive'] * 90)
assert incomplete_broad_web_answer(substantial, 'AI news')
assert not incomplete_broad_web_answer(
substantial + ' https://example.org/report', 'AI news'
)
assert not incomplete_broad_web_answer('Short answer.', 'What is Python?')
def test_followup_search_must_change_subject_angle_not_only_freshness():
from src.clean_agent_preview import repeated_search_refinement