Files
NexQuant/.gitignore
T
TPTBusiness 8b7eb87546 feat: Add parallel run system with API key distribution
- Add predix_parallel.py: Run multiple factor experiments concurrently
  * python predix_parallel.py --runs 5 --api-keys 2 -m openrouter
  * Round-robin API key distribution across available keys
  * Rich live dashboard with per-run status, elapsed time, exit codes
  * Graceful shutdown (Ctrl+C kills all children cleanly)

- Add --run-id parameter to predix.py for isolated single runs
  * Separate log files: fin_quant_run{N}.log
  * Separate results: results/runs/run{N}/
  * Separate workspace: RD-Agent_workspace_run{N}/
  * Separate databases per run

- Modify CoSTEER and FactorRunner for PARALLEL_RUN_ID isolation
  * _save_intermediate_results uses run-specific directories
  * _save_result_to_database and _write_run_log isolated per run
  * _ensure_results_dirs creates run-specific paths

- Reduce max_loop from 10 to 3 for faster iterations
- Add docs/parallel_runs.md with full documentation

Tests: 103 passed
2026-04-04 09:39:12 +02:00

102 lines
1.1 KiB
Plaintext

# Environment
.env
.env.*
!.env.example
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Virtual environments
venv/
ENV/
env/
.venv/
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/
# Logs
*.log
log/
# Cache
pickle_cache/
prompt_cache.db
.cache/
# Generated/processed data
git_ignore_folder/
data_raw/
# Build artifacts
*.manifest
*.spec
# Local scripts (generated)
convert_1min.py
import_1min_qlib.py
# Results (Backtesting, Factors, Runs)
results/
*.db
*.csv
*_export.json
*.h5
# Documentation (generated)
QWEN.md
# AI Agent Files (generated by Qwen Code)
.qwen/
# Parallel run workspaces (isolated per run)
RD-Agent_workspace_run*/
# Internal documentation (not for public)
TODO.md
# Private prompts (your improved versions)
prompts/local/
*.local.yaml
*_private.yaml
# Private models (your improved versions)
models/local/
*.local.py
*_private.py
# Test credentials
.env.test
*.test.env
test_credentials.py