Files
portainer-core/.gitignore
T
jpmschweitzerandClaude 5368496f6f feat(ai): add comprehensive quality test suite for core-ai agent
Add automated test suite for regression detection and performance tracking
of the core-ai agent behavior across code changes.

Changes:
- Add test_ai_flow_quality.py with 5 core test scenarios
  - Simple knowledge queries (no tools)
  - Web search integration
  - Mathematical calculations
  - Date/time operations
  - Multi-tool reasoning tasks
- Add QUALITY_TESTS.md documentation
  - Usage guide and test descriptions
  - Baseline establishment workflow
  - Model benchmarking procedures
  - Troubleshooting guide
- Add performance baseline tests
- Add regression detection tests
- Generate text and JSON reports with git tagging
- Update .gitignore to exclude generated test reports
- Update CHANGELOG.md with test suite details

Baseline Results:
- 4/5 tests passing (80% success rate)
- Average response time: 2-8s per query
- Agent: OllamaNativeAgent with PydanticAI
- Model: mistral-nemo:latest

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 18:29:47 +01:00

101 lines
1.2 KiB
Plaintext

# tower-of-joy .gitignore
# Prevent committing sensitive or ephemeral files
# Docker volumes and data directories (created at runtime)
docker-data/
/mnt/media/
# Backups (too large for git)
backups/
*.backup
*.bak
# Environment files (may contain secrets)
.env
.env.*
!.env.example
# Logs
*.log
logs/
# Temporary files
*.tmp
*.temp
.tmp/
tmp/
# IDE/Editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# OS files
Thumbs.db
desktop.ini
# Secrets and credentials
secrets/
*.key
*.pem
*.crt
!example.crt
credentials.json
password.txt
.portainer-token
.test-update.sh
services/core-api/src/credentials.py
# Build artifacts (if any)
dist/
build/
*.o
*.pyc
__pycache__/
# Node modules (if using any Node tools)
node_modules/
# Python virtual environments (if any)
venv/
.venv/
env/
# Docker Compose overrides (local-only configs)
docker-compose.override.yml
# Local configuration (machine-specific)
local.yml
local.config
# Archive files
*.zip
*.tar
*.tar.gz
*.tgz
# Database dumps
*.sql
*.db
*.sqlite
!example.db
# Cache directories
.cache/
cache/
# Test output
coverage/
.coverage
test-results/
services/core-ai/tests/reports/
# Documentation builds
docs/_build/
site/
prompt-log.md
stacks/init-scripts/postgres-init.sh