fix: resolve review feedback F1 (CCIS deliverables WG scope), F2 (4 Core Research Areas), AC-32 check, and N1-N3 cleanups
This commit is contained in:
@@ -447,16 +447,17 @@ def parse_projects():
|
||||
bodies = parse_standards()
|
||||
body_map = {b["org"]: b for b in bodies}
|
||||
|
||||
# Extract deliverables for CCIS (IEC TC100)
|
||||
# Extract deliverables for CCIS (IEC TC100 - Configurable Car Infotainment Services WG)
|
||||
ccis_docs = []
|
||||
if "IEC TC100" in body_map:
|
||||
for p in body_map["IEC TC100"]["projects"]:
|
||||
for d in p["documents"]:
|
||||
ccis_docs.append({
|
||||
"title": d["title"],
|
||||
"ref": d["ref"],
|
||||
"status": d["status"]
|
||||
})
|
||||
if "Configurable Car Infotainment Services" in p["name"]:
|
||||
for d in p["documents"]:
|
||||
ccis_docs.append({
|
||||
"title": d["title"],
|
||||
"ref": d["ref"],
|
||||
"status": d["status"]
|
||||
})
|
||||
|
||||
# Extract deliverables for VLC-IoT (ITU-T SG20)
|
||||
vlc_docs = []
|
||||
|
||||
@@ -42,13 +42,18 @@ def verify():
|
||||
if len(projects) != 3:
|
||||
errors.append(f"Research Projects count mismatch: got {len(projects)}, expected 3")
|
||||
|
||||
# AC-30: Keyword Substring Verification (Ensures zero hallucinated/created keywords)
|
||||
# AC-30: Keyword Substring Verification & AC-32 Deliverable WG Attribution
|
||||
for proj in projects:
|
||||
abstract = proj.get("abstract", "")
|
||||
for kw in proj.get("keywords", []):
|
||||
if kw not in abstract:
|
||||
errors.append(f"AC-30 Keyword Violation in project '{proj.get('slug')}': keyword '{kw}' not in abstract")
|
||||
|
||||
if proj["slug"] == "ccis":
|
||||
for d in proj.get("deliverables", []):
|
||||
if "63246" not in d["ref"]:
|
||||
errors.append(f"AC-32 Violation: CCIS project deliverable '{d['ref']}' does not belong to CCIS WG (IEC 63246)")
|
||||
|
||||
# 1. Count checks
|
||||
if len(active_m) != 16:
|
||||
errors.append(f"Active Members count mismatch: got {len(active_m)}, expected 16")
|
||||
|
||||
@@ -33,6 +33,7 @@ EXPECTED_SSG_ROUTES = [
|
||||
os.path.join(".next", "server", "app", "_not-found.html"),
|
||||
os.path.join(".next", "server", "app", "robots.txt.body"),
|
||||
os.path.join(".next", "server", "app", "sitemap.xml.body"),
|
||||
os.path.join(".next", "server", "pages", "404.html"),
|
||||
]
|
||||
|
||||
def run_cmd(cmd, cwd=REFER_DIR):
|
||||
@@ -154,7 +155,7 @@ def test_unittest_suite():
|
||||
if res.returncode != 0:
|
||||
print(f"❌ Unittest suite failed:\n{res.stdout}\n{res.stderr}")
|
||||
return False
|
||||
print("✅ Gate 7 PASSED: All 6 DOM & static HTML content assertion tests passed")
|
||||
print("✅ Gate 7 PASSED: All 7 DOM & static HTML content assertion tests passed")
|
||||
return True
|
||||
|
||||
def test_layout_architecture():
|
||||
|
||||
Reference in New Issue
Block a user