-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyqual-llx.yaml
More file actions
53 lines (45 loc) · 1.41 KB
/
pyqual-llx.yaml
File metadata and controls
53 lines (45 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
pipeline:
name: quality-loop-with-llx
# Quality gates — pipeline iterates until ALL pass
metrics:
cc_max: 15 # cyclomatic complexity per function
vallm_pass_min: 90 # vallm validation pass rate (%)
coverage_min: 80 # test coverage (%)
# Security gates (uncomment to enable):
# vuln_high_max: 0 # pip-audit high severity CVEs
# bandit_high_max: 0 # bandit high severity issues
# secrets_found_max: 0 # trufflehog/gitleaks secrets
# Quality gates (uncomment to enable):
# mypy_errors_max: 0 # mypy type checking errors
# outdated_deps_max: 5 # outdated pip dependencies
# Pipeline stages — executed in order
stages:
- name: analyze
tool: code2llm
# Security scans (uncomment to enable):
# - name: audit
# tool: pip-audit
# - name: bandit
# tool: bandit
# - name: secrets
# tool: trufflehog
# optional: true
- name: validate
tool: vallm
# LLX-powered code generation
- name: fix
run: llx fix . --errors .pyqual/errors.json --verbose
when: metrics_fail
- name: test
tool: pytest
when: always
# Loop behavior
loop:
max_iterations: 3
on_fail: report # report | create_ticket | block
# Environment (optional)
env:
LLM_MODEL: openrouter/qwen/qwen3-coder-next
# LLX-specific settings
LLX_DEFAULT_TIER: balanced
LLX_VERBOSE: true