task_pages__calendar__weekday_occurrence_date¶
Identity¶
- Domain:
pages - Scene id:
calendar - Source scene:
calendar - Task id:
task_pages__calendar__weekday_occurrence_date
Contract¶
- Objective: find the date number of an nth weekday in one Gregorian month-view calendar.
- Public task contract:
weekday_occurrence_date - Supported
query_id:single - Answer type:
integer - Annotation schema:
bbox - Annotation witness: the target date cell.
- Query argument axes: sampled weekday name and occurrence ordinal.
Program Contract¶
calendar_month_weekday_occurrence_lookup(weekday_index, occurrence); output=integer_value; annotation=bbox(target_date_cell); scene=calendar; scope=one Gregorian month-view calendar
Reasoning Operations¶
Families: filtering, ranking
Prompt + Trace¶
- Prompt bundle:
pages_calendar_v1 - Scene key:
month_calendar - Task key:
calendar_weekday_occurrence_query - Prompt query key:
weekday_occurrence_date - Trace records the month/year, displayed week start, weekday/ordinal operands, answer date, and date-cell bboxes.
- Generation is deterministic from
instance_seed; answers and annotation come from the finalized calendar metadata. - Displayed week start is a scene/rendering axis (
monday|sunday) and is not a publicquery_id.