mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 14:49:46 +08:00
`npm run audit` writes web/test-results/ (and web/playwright-report/ when a report is generated). Neither was ignored, so both showed up as untracked noise ready to be swept into an unrelated commit.
323 lines
5.1 KiB
Plaintext
323 lines
5.1 KiB
Plaintext
# ============================================
|
|
# AI-Tutor Project .gitignore
|
|
# ============================================
|
|
|
|
# ============================================
|
|
# User Generated Data and Outputs
|
|
# ============================================
|
|
# Runtime data (knowledge bases, tutorbot workspaces, memory, etc.)
|
|
data/
|
|
/multi-user/
|
|
run_code_workspace/
|
|
deeptutor/agents/question/reference_papers/
|
|
deeptutor/services/rag/eg_only_for_analysis/
|
|
/docs/
|
|
/site/
|
|
.claude
|
|
.agents/
|
|
|
|
# LaTeX build artifacts
|
|
*.aux
|
|
*.bbl
|
|
*.blg
|
|
*.fdb_latexmk
|
|
*.fls
|
|
*.out
|
|
*.synctex.gz
|
|
*.pdf
|
|
!demo/*.pdf
|
|
|
|
# ============================================
|
|
# Python Related
|
|
# ============================================
|
|
# Bytecode cache
|
|
__pycache__/
|
|
**/__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
|
|
# Distribution/Packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# Virtual Environments
|
|
.env
|
|
*.env
|
|
*.env.local
|
|
env/
|
|
venv/
|
|
ENV/
|
|
.venv/
|
|
env.bak/
|
|
venv.bak/
|
|
|
|
# ============================================
|
|
# Node.js and Frontend Build
|
|
# ============================================
|
|
# Node modules
|
|
# Both spellings: the trailing slash matches only a real directory, so a
|
|
# symlinked node_modules (how a git worktree usually borrows the main
|
|
# checkout's install) would otherwise be staged by `git add -A`.
|
|
node_modules
|
|
node_modules/
|
|
**/node_modules
|
|
**/node_modules/
|
|
|
|
# Next.js build output
|
|
.next/
|
|
web/.next/
|
|
web/.next-deeptutor/
|
|
out/
|
|
web/out/
|
|
.vercel/
|
|
**/.vercel/
|
|
.turbo/
|
|
**/.turbo/
|
|
|
|
# Auto-generated env.local (created by start_web.py / start_tour.py)
|
|
web/.env.local
|
|
|
|
# Frontend build artifacts
|
|
dist/
|
|
web/dist/
|
|
build/
|
|
web/build/
|
|
.open-next/
|
|
**/.open-next/
|
|
.wrangler/
|
|
**/.wrangler/
|
|
.vite/
|
|
**/.vite/
|
|
|
|
# Yarn / Plug'n'Play
|
|
.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# TypeScript build info
|
|
*.tsbuildinfo
|
|
|
|
# ============================================
|
|
# Common Output and Cache Directories
|
|
# ============================================
|
|
# Output directories
|
|
output/
|
|
outputs/
|
|
**/output/
|
|
**/outputs/
|
|
|
|
# Cache directories
|
|
cache/
|
|
**/cache/
|
|
.cache/
|
|
.ruff_cache
|
|
.playwright-cli/
|
|
# Written by `npm run audit` (the playwright ui-audit project).
|
|
web/test-results/
|
|
web/playwright-report/
|
|
|
|
# Log files
|
|
*.log
|
|
|
|
# ============================================
|
|
# IDE and Editors
|
|
# ============================================
|
|
# VSCode
|
|
.vscode/
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
|
|
# Cursor
|
|
.cursor/
|
|
|
|
# PyCharm / IntelliJ IDEA
|
|
.idea/
|
|
*.iml
|
|
*.iws
|
|
*.ipr
|
|
|
|
# Sublime Text
|
|
*.sublime-project
|
|
*.sublime-workspace
|
|
|
|
# Vim
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.netrwhist
|
|
|
|
# Emacs
|
|
*~
|
|
\#*\#
|
|
/.emacs.desktop
|
|
/.emacs.desktop.lock
|
|
*.elc
|
|
auto-save-list
|
|
tramp
|
|
.\#*
|
|
|
|
# ============================================
|
|
# Operating System Files
|
|
# ============================================
|
|
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
Icon
|
|
._*
|
|
.DocumentRevisions-V100
|
|
.fseventsd
|
|
.Spotlight-V100
|
|
.TemporaryItems
|
|
.Trashes
|
|
.VolumeIcon.icns
|
|
.com.apple.timemachine.donotpresent
|
|
.AppleDB
|
|
.AppleDesktop
|
|
Network Trash Folder
|
|
Temporary Items
|
|
.apdisk
|
|
|
|
# Windows
|
|
Thumbs.db
|
|
Thumbs.db:encryptable
|
|
ehthumbs.db
|
|
ehthumbs_vista.db
|
|
*.stackdump
|
|
[Dd]esktop.ini
|
|
$RECYCLE.BIN/
|
|
*.cab
|
|
*.msi
|
|
*.msix
|
|
*.msm
|
|
*.msp
|
|
*.lnk
|
|
|
|
# Linux
|
|
*~
|
|
.fuse_hidden*
|
|
.directory
|
|
.Trash-*
|
|
.nfs*
|
|
|
|
# ============================================
|
|
# Temporary Files
|
|
# ============================================
|
|
*.tmp
|
|
*.temp
|
|
*.bak
|
|
*.backup
|
|
*.swp
|
|
*.swo
|
|
|
|
# Local scripts
|
|
启动 DeepTutor.bat
|
|
|
|
# ============================================
|
|
# Testing and Coverage
|
|
# ============================================
|
|
.coverage
|
|
.coverage.*
|
|
htmlcov/
|
|
.pytest_cache/
|
|
.pytest_tmp/
|
|
.tox/
|
|
nosetests.xml
|
|
coverage.xml
|
|
develop/
|
|
|
|
# ============================================
|
|
# Jupyter Notebook
|
|
# ============================================
|
|
.ipynb_checkpoints
|
|
*.ipynb_checkpoints/
|
|
|
|
# ============================================
|
|
# Type Checking
|
|
# ============================================
|
|
# mypy
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
|
|
# Pyre type checker
|
|
.pyre/
|
|
|
|
# pytype static type analyzer
|
|
.pytype/
|
|
|
|
# ============================================
|
|
# Other Python Tools
|
|
# ============================================
|
|
# Celery
|
|
celerybeat-schedule
|
|
celerybeat.pid
|
|
|
|
# SageMath parsed files
|
|
*.sage.py
|
|
|
|
# Spyder project settings
|
|
.spyderproject
|
|
.spyproject
|
|
|
|
# Rope project settings
|
|
.ropeproject
|
|
|
|
# ============================================
|
|
# Profiling
|
|
# ============================================
|
|
*.prof
|
|
*.pstats
|
|
|
|
# ============================================
|
|
# Database Files
|
|
# ============================================
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# ============================================
|
|
# Compressed Files
|
|
# ============================================
|
|
*.zip
|
|
*.tar
|
|
*.tar.gz
|
|
*.rar
|
|
*.7z
|
|
|
|
# ============================================
|
|
# Reference Papers (large binary files)
|
|
# ============================================
|
|
# Keep structure but ignore large PDFs in reference_papers
|
|
# question_agents/reference_papers/**/*.pdf
|
|
|
|
# ============================================
|
|
# Audio/Video Output (TTS generated)
|
|
# ============================================
|
|
*.mp3
|
|
*.wav
|
|
*.ogg
|
|
!demo/*.mp4
|