fix(web): keep career quality off the gate and let the agent write stems
Exam-quality cards may still jump ahead of adoption, but career years stay on method rotation. Server stamps only period and family; spoken questions remain model-authored. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -543,6 +543,9 @@ def _public_probe(
|
||||
QUALITY_HINTS: dict[str, tuple[str, ...]] = {
|
||||
"education": ("失利", "失常", "压力", "复读", "考砸", "发挥不好", "发挥异常"),
|
||||
}
|
||||
# Only education has a quality dimension distinct from existence.
|
||||
# Career/family "quality_family" copies event_family and must not jump the
|
||||
# adoption gate as known_event_quality.
|
||||
|
||||
|
||||
def _quality_encoded(event: dict[str, Any], domain: str) -> bool:
|
||||
@@ -594,7 +597,7 @@ def _quality_probes(
|
||||
year = _event_year(event)
|
||||
if domain not in domains or year is None or domain in seen_domains:
|
||||
continue
|
||||
if domain not in DOMAIN_CATALOG:
|
||||
if domain not in DOMAIN_CATALOG or domain not in QUALITY_HINTS:
|
||||
continue
|
||||
if _year_quality_encoded(events, domain, year):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user