-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyqual.yaml
More file actions
55 lines (45 loc) · 1.24 KB
/
pyqual.yaml
File metadata and controls
55 lines (45 loc) · 1.24 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
54
55
pipeline:
name: code2docs-quality
metrics:
cc_max: 15
critical_max: 0
custom_tools:
- name: code2llm_code2docs
binary: code2llm
command: >-
code2llm {workdir} -f toon -o ./project --no-chunk
--exclude .git .venv .venv_test build dist __pycache__ .pytest_cache .code2llm_cache .benchmarks .mypy_cache .ruff_cache node_modules
output: ""
allow_failure: false
- name: vallm_code2docs
binary: vallm
command: >-
vallm batch {workdir} --recursive --format toon --output ./project
--exclude .git,.venv,.venv_test,build,dist,__pycache__,.pytest_cache,.code2llm_cache,.benchmarks,.mypy_cache,.ruff_cache,node_modules
output: ""
allow_failure: false
stages:
- name: analyze
tool: code2llm_code2docs
optional: true
timeout: 0
- name: validate
tool: vallm_code2docs
optional: true
timeout: 0
- name: lint
tool: ruff
optional: true
- name: fix
tool: prefact
optional: true
when: metrics_fail
timeout: 900
- name: test
run: python3 -m pytest -q
when: always
loop:
max_iterations: 3
on_fail: report
env:
LLM_MODEL: openrouter/qwen/qwen3-coder-next