ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Live demo: https://yehonatanabramovitch.github.io/Multi-Elevator-Ai/
A browser lab where you build a building, hide how its world behaves, and watch a reinforcement-learning controller figure it out while it delivers people to their floors.
full strategy and never resets, since a single round leaves no room for the loop strategy to pay off. Everything else is unchanged. On all 36 problems × 10 seeds it finished every run, in at most 50 steps (verify/single_round_check.js). The random policy usually doesn't finish at all.loop strategy included. This is the algorithm exactly as written.Elevators move between the floors they can reach and have a weight limit. Some people can only get to their destination by switching elevators on a shared floor. Actions are MOVE{e,f}, ENTER{p,e}, EXIT{p,e} and RESET, and every action costs one step out of a fixed budget.
Actions can fail. A failed move lands the elevator on a random other floor it can reach, and a failed board or exit does nothing. Delivering a person pays a random reward from that person's list. Delivering everyone pays a fixed bonus and resets the building, and the clock keeps running.
The algorithm is in algorithm/controller.py. It combines online learning with planning:
(s+1)/(n+2). It records every delivery reward it observes, and subtracts the known bonus when a delivery completes the round.max(bonus, 1), so unexplored deliveries look attractive until real samples replace the guess.1/p steps. The heuristic counts each person's remaining board/exit costs plus the single largest elevator move still needed. Successors are pruned to moves that pick someone up, drop someone at their destination, or drop them at a floor where another elevator can carry them on.full) with repeatedly delivering only the single most profitable person and resetting (loop), and switches between them as its estimates change.The lab runs a JavaScript port of the Python controller, src/core.js, together with a copy of the environment's rules. The port is checked to behave identically:
verify/py_trace.py records the Python controller's observations and actions, and verify/compare.js feeds the same observations to the JavaScript controller. On all 36 problems × 2 seeds, all 27,000 actions match.frozensets of floors, whose order depends on CPython's hash table (for example {2,4,6,8} iterates as 8,2,4,6). pySetOrder in core.js reproduces that order. It matches CPython on every set from the 36 problems and on 3,000 random sets (verify/pyset_check.js).The simulation runs in a Web Worker, so the animation stays smooth during long A* searches.
The controller is my solution to the reinforcement-learning assignment in Bar-Ilan University's Introduction to Artificial Intelligence course (CS 89-570). The environment's rules and the 36 problems come from the course. I used Claude Code as a development aid for design discussion, debugging, the JavaScript port and the lab interface.
If you are taking this course, do not submit this code, or anything derived from it, as your own work.