ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证AI-powered adaptive programming practice platform that personalizes problem difficulty using Bayesian Knowledge Tracing, LinUCB contextual bandits, and LLM tutoring.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
AI-powered adaptive programming practice platform that personalizes problem difficulty using Bayesian Knowledge Tracing, LinUCB contextual bandits, and LLM tutoring.查看完整 README ↗AI-powered adaptive programming practice platform that personalizes problem difficulty using Bayesian Knowledge Tracing, LinUCB contextual bandits, and LLM tutoring.
+-----------------------------------------------------------------------------+
| AdaptCode Adaptive Learning Loop |
| |
| +-----------------------+ +-----------------------+ |
| | Monaco Code Editor | | Multi-Language Code | |
| | (Python/Java/C++) | | Submission Payload | |
| +----------+------------+ +----------+------------+ |
| | | |
| +--------------------------+------------------------+ |
| v v |
| +-----------------------------------------------------------------------+ |
| | Piston Code Execution Sandbox (HTTP POST to :2000) | |
| +-------------------------------------+---------------------------------+ |
| v |
| +-----------------------------------------------------------------------+ |
| | Bayesian Knowledge Tracing (BKT) ---> LinUCB Contextual Bandit Selector| |
| +-------------------------------------+---------------------------------+ |
| v |
| +-----------------------------------------------------------------------+ |
| | LLM Diagnostic Tutoring Hint <--- Next Optimal Challenge (ZPD) | |
| +-----------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------+
Standard coding practice platforms rely on static difficulty tags and rigid problem sets, leaving students either stuck on difficult concepts or bored with repetitive questions. AdaptCode models each learner's mastery in real-time across a prerequisite graph of 12 algorithmic concepts, applying Bayesian Knowledge Tracing (P(L0), P(T), P(G), P(S)) and LinUCB contextual multi-armed bandits to serve challenges in the Zone of Proximal Development while providing instant LLM diagnostic feedback on failed test cases.
graph TD
A[Student Submits Code] --> B[FastAPI Backend Endpoint: /api/submit]
B --> C[Piston Execution Sandbox :2000]
C -->|Execution Telemetry| D[BKT Engine Updates Mastery State]
D --> E[LinUCB Contextual Bandit]
E --> F[Next Optimal Problem Selected]
C -->|On Failure| G[LLM Diagnostic Tutor: /api/explanation/{event_id}]
G --> H[Contextual Hint & Remediation Plan]
| Requirement | Version | Notes |
|---|---|---|
| Node.js | 18+ | Frontend runtime |
| Python | 3.10+ | Backend runtime |
| Supabase | Cloud / Local | PostgreSQL database and authentication |
| Docker | 20+ | Required for Piston Code Runner |
Clone the repository:
git clone https://github.com/Justinvcj/Adapt_Code.git
cd Adapt_Code
Set up the backend:
cd backend
python -m venv venv
source venv/bin/activate # Or `venv\Scripts\activate` on Windows
pip install -r requirements.txt
cp .env.example .env
Set up the frontend:
cd ../frontend
npm install
cp .env.example .env.local
Launch services via Docker Compose:
docker-compose up -d
CRITICAL: Launch Piston Sandbox:
The docker-compose.yml does not currently include Piston. You must launch it manually:
docker run -d -p 2000:2000 --privileged --tmpfs /tmp:exec --name piston ghcr.io/engineer-man/piston
Open http://localhost:3000 in your browser, select a topic from the curriculum graph, and begin solving adaptive challenges with real-time feedback.
backend/.env)| Variable | Required | Default | Description |
|---|---|---|---|
SUPABASE_URL | Yes | -- | Supabase project URL |
SUPABASE_KEY | Yes | -- | Supabase service role or anon API key |
GEMINI_API_KEY | Yes | -- | API key for Google Gemini LLM tutoring explanations |
FRONTEND_URL | No | http://localhost:3000 | Allowed CORS origin |
PISTON_URL | No | http://localhost:2000/api/v2/execute | Piston execution endpoint |
DEBUG | No | false | Enable verbose logging |
TEST_MODE | No | false | Enable test mode (bypasses auth for development) |
frontend/.env.local)| Variable | Required | Default | Description |
|---|---|---|---|
NEXT_PUBLIC_API_URL | No | http://localhost:8000 | FastAPI backend URL |
| Layer | Technology |
|---|---|
| Frontend | Next.js 14, React 18, TypeScript, Tailwind CSS, Monaco Editor, Framer Motion, Lucide React |
| Backend | FastAPI, Uvicorn, Pydantic, Supabase Python SDK, NumPy, SlowAPI |
| Execution Sandbox | Piston API (Docker) |
| AI & Adaptive Engine | Google Gemini LLM, Bayesian Knowledge Tracing (BKT), LinUCB Bandit |
| Testing | Pytest, Jest |
Warning: The backend test suite currently suffers from import debt due to structural refactoring and requires updates before passing.
# Run backend test suite
cd backend && venv/bin/pytest tests/
# Run frontend unit tests
cd ../frontend && npm test
Contributions are welcome. Please open an issue first to discuss the changes you would like to make.
git checkout -b feat/AmazingFeature)git commit -m 'feat: add amazing feature')git push origin feat/AmazingFeature)Distributed under the MIT License. See LICENSE for details.