fix: resolve review issues B1-B6 (color token alpha contract, Header contrast/budget B plan, Publications Overview page, N1-N8 cleanups) with 100% E2E PASS

This commit is contained in:
2026-08-20 22:42:26 +09:00
parent 9725c8ef66
commit 30e5bd8429
11 changed files with 372 additions and 135 deletions
@@ -117,7 +117,9 @@ def parse_members():
clean_item = re.sub(r'<.*?>', '', clean_item)
clean_item = clean_item.strip().replace('\n', ' ')
clean_item = re.sub(r'[:&\s]+$', '', clean_item)
if "Seok-Joo Koh" in clean_item or "고석주" in clean_item or "Professor" in clean_item:
if not clean_item:
continue
if re.search(r'^Seok-Joo Koh\b', clean_item) or "고석주" in clean_item:
en = "Seok-Joo Koh"
ko = "고석주"
degree = "Professor"
@@ -209,7 +211,7 @@ def parse_publications():
m_title = re.search(r'<U>(.*?)</U>', item, flags=re.S | re.I)
if m_title:
raw_t = re.sub(r'<br/?>', '', m_title.group(1), flags=re.I).replace('\n', ' ').strip()
title = re.sub(r'^(?:"|“|”|\s)+|(?:"|“|”|\s)+$', '', raw_t).strip()
title = re.sub(r'^[\s"“”]+|[\s"“”,]+$', '', raw_t).strip()
else:
title = ""
@@ -236,7 +238,7 @@ def parse_publications():
m_title = re.search(r'<U>(.*?)</U>', item, flags=re.S | re.I)
if m_title:
raw_t = re.sub(r'<br/?>', '', m_title.group(1), flags=re.I).replace('\n', ' ').strip()
title = re.sub(r'^(?:"|“|”|\s)+|(?:"|“|”|\s)+$', '', raw_t).strip()
title = re.sub(r'^[\s"“”]+|[\s"“”,]+$', '', raw_t).strip()
else:
title = ""
@@ -266,7 +268,7 @@ def parse_publications():
lines = [l.strip() for l in clean.split('\n') if l.strip()]
if not lines:
continue
title = lines[0]
title = re.sub(r'^[\s"“”]+|[\s"“”,]+$', '', lines[0]).strip()
inventors = ""
app_no = ""
app_date = None
@@ -54,6 +54,12 @@ def verify():
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)")
# N1: Title artifact check (No trailing quotes or commas in publication titles)
for p in intl_p + dom_p + pat_p:
t = p.get("title", "")
if re.search(r'["“”]|,$', t):
errors.append(f"N1 Title Artifact Violation in publication '{p.get('id')}': title '{t}' contains quotes or trailing comma")
# 1. Count checks
if len(active_m) != 16:
errors.append(f"Active Members count mismatch: got {len(active_m)}, expected 16")