BUPT Empty Classroom Query
This skill queries the BUPT empty classroom system at https://ec.jray.xyz/
Workflow
Step 1: Open the website
Use
agent-browser to open the URL:
CODEBLOCK0
Step 2: Verify campus selection
- - The page defaults to "西土城" (Xitucheng) campus
- Verify it's selected (look for
[checked] on radio "西土城") - If not, click on it: INLINECODE2
Step 3: Select building
Click on the building button:
- - 教2: INLINECODE3
- 教3: INLINECODE4
- 教4: INLINECODE5
- 未来学习大楼: INLINECODE6
Step 4: Select time period
After clicking the building, the time period buttons will appear. Each button shows the format:
INLINECODE7
Example buttons:
- - 08:00 01 08:45 (第1节)
- 08:50 02 09:35 (第2节)
- ...and so on
Click on the desired time period button (check refs from snapshot).
Step 5: Extract results
After selecting the time period, the page will show a table with empty classrooms:
| Column | Description |
|---|
| 教室 | Classroom ID (e.g., 教4-203) |
| 座位数 |
Number of seats |
| 类型 | Room type (if available) |
| 来源 | Data source (usually "教务") |
Use agent-browser snapshot or agent-browser snapshot -i to get the full table.
Example Session
CODEBLOCK1
Common Issues
- 1. Button refs change after each navigation: Always re-run
snapshot after clicking a building or time period.
- 2. Some time periods are disabled: Passed time periods show
[disabled] and cannot be clicked.
- 3. No empty classrooms: If no classrooms are shown after selecting a time period, it means all classrooms are occupied at that time.
Notes
- - The website defaults to current date
- Only Xitucheng campus is fully supported (沙河 campus can be selected but workflow is same)
- Data source is usually the university's academic system (教务)
BUPT空教室查询
本技能用于查询BUPT空教室系统,网址为https://ec.jray.xyz/
工作流程
第一步:打开网站
使用agent-browser打开网址:
bash
agent-browser open https://ec.jray.xyz/
第二步:确认校区选择
- - 页面默认选择西土城校区
- 确认已选中(查看单选按钮西土城是否有[checked]标记)
- 若未选中,点击该选项:agent-browser click @e2
第三步:选择教学楼
点击教学楼按钮:
- - 教2:agent-browser click @e6
- 教3:agent-browser click @e7
- 教4:agent-browser click @e8
- 未来学习大楼:agent-browser click @e9
第四步:选择时间段
点击教学楼后,时间段按钮会显示。每个按钮的格式为:
HH:MM 节次 HH:MM
示例按钮:
- - 08:00 01 08:45(第1节)
- 08:50 02 09:35(第2节)
- ……以此类推
点击所需的时间段按钮(从快照中查看引用编号)。
第五步:提取结果
选择时间段后,页面会显示空教室表格:
座位数量 |
| 类型 | 教室类型(如有) |
| 来源 | 数据来源(通常为教务) |
使用agent-browser snapshot或agent-browser snapshot -i获取完整表格。
示例会话
bash
第一步:打开网站
agent-browser open https://ec.jray.xyz/
第二步:获取初始快照查看引用编号
agent-browser snapshot -i
第三步:点击教学楼(例如教4)
agent-browser click @e8
第四步:获取更新后的快照
agent-browser snapshot -i
第五步:点击时间段(例如17:25 11 18:10)
agent-browser click @e20
第六步:获取最终结果
agent-browser snapshot
常见问题
- 1. 按钮引用编号在每次导航后都会变化:点击教学楼或时间段后,务必重新运行snapshot。
- 2. 部分时间段不可用:已过的时间段会显示[disabled]且无法点击。
- 3. 无空教室:选择时间段后若未显示任何教室,表示该时段所有教室均被占用。
备注
- - 网站默认显示当前日期
- 仅完全支持西土城校区(沙河校区可选择,但工作流程相同)
- 数据来源通常为学校教务系统