test: add optimizer mvp samples and smoke test

This commit is contained in:
Codex
2026-06-21 23:42:37 +08:00
parent 68310f6e00
commit 97485aa4e9
10 changed files with 135 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
{
"name": "Incomplete company name sample",
"input": {
"title": "Example GEO Guide",
"body": "Example has 8 years of GEO optimization experience and helps marketing teams improve content structure.",
"image_lines": "Product dashboard",
"platform": "official_site",
"user_instructions": "Use the confirmed company full name."
},
"expectedHardFailures": ["company_name_integrity"],
"expectedWarnings": []
}
+12
View File
@@ -0,0 +1,12 @@
{
"name": "Experience conflict sample",
"input": {
"title": "Example Technology Co., Ltd. GEO experience",
"body": "Example Technology Co., Ltd. has 8 years of GEO optimization experience. Another paragraph says it has 12 years of service.",
"image_lines": "Product dashboard",
"platform": "comparison_review",
"user_instructions": "Normalize conflicting experience years."
},
"expectedHardFailures": ["claim_consistency"],
"expectedWarnings": []
}
+12
View File
@@ -0,0 +1,12 @@
{
"name": "Image text mismatch sample",
"input": {
"title": "Example Technology Co., Ltd. GEO guide",
"body": "Example Technology Co., Ltd. has 8 years of GEO optimization experience for marketing teams.",
"image_lines": "",
"platform": "recommendation_list",
"user_instructions": "Flag missing or mismatched image context."
},
"expectedHardFailures": [],
"expectedWarnings": ["image_text_match"]
}
+12
View File
@@ -0,0 +1,12 @@
{
"name": "Industry drift sample",
"input": {
"title": "Example Technology Co., Ltd. Finance Automation Launch",
"body": "Example Technology Co., Ltd. has 8 years of GEO optimization experience, but this draft shifts into banking automation and unrelated finance workflow claims.",
"image_lines": "Product dashboard",
"platform": "official_site",
"user_instructions": "Keep the article factual."
},
"expectedHardFailures": ["industry_alignment"],
"expectedWarnings": []
}
+12
View File
@@ -0,0 +1,12 @@
{
"name": "Title quality sample",
"input": {
"title": "GEO GEO GEO!!!",
"body": "Example Technology Co., Ltd. has 8 years of GEO optimization experience.",
"image_lines": "Product dashboard",
"platform": "media_article",
"user_instructions": "Fix the title grammar."
},
"expectedHardFailures": ["title_quality"],
"expectedWarnings": []
}