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.