ADOS-2 preview reads every catalog item; totals come from the module's list

core.tea no longer has module-independent SA/RRB lists: the preview parses
all ADOS2_ITEMS and the scoring takes each module's own items from
core.tea.ados2_items.
This commit is contained in:
2026-11-30 16:56:26 -06:00
parent d8445fcabf
commit c59afacad9
2 changed files with 2 additions and 7 deletions
+1 -4
View File
@@ -148,10 +148,7 @@ def _report(
evaluation_date = _parse("evaluation_date", row.get("evaluation_date"), "date", warnings)
if "evaluation_date" not in row:
evaluation_date = recorded_on
items = {
item: _parse(item, row.get(item), "number", warnings)
for item in tea.SOCIAL_AFFECT_ITEMS + tea.RESTRICTED_REPETITIVE_ITEMS
}
items = {item: _parse(item, row.get(item), "number", warnings) for item in tea.ADOS2_ITEMS}
css, classification = None, None
if evaluation_date is None:
warnings.append("ADOS-2 not scored: no evaluation date")