Scanners: consistent status rules and calibrated severities
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
Direzione di ricerca
Start by reading scan-path-standards.py, scan-scripts.py, the prepass scripts, and validate-module.py, then find how analysis grades and lenses consume scanner results. Check the existing documentation under references/ and how Ruff and ShellCheck findings are represented. Done means the status contract, severity mappings, and isolated Ruff invocation are consistent across the named scanners and documented once.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe your idea
Agree on one status contract across scan-path-standards.py, scan-scripts.py, the prepass scripts and validate-module.py, and map lint rule families to severities.
Why is this needed?
Today scan-scripts maps any high finding to warning but scan-path-standards maps any finding to fail, and every ruff rule is high (I001 import order weighs the same as F821 undefined name). The analysis grade and the lenses consume these, so the noise skews the quality report and pushes the Edit intent toward style churn.
How should it work?
- Status:
failif any critical/high,warningif any medium, elsepass, documented once inreferences/. - Ruff:
F8xx,E9xx,B,Shigh,PL/SIMmedium,I/E5xx/W/style low. Shellcheck error/warning/info/style map the same way. - Run ruff with
--isolated --selectso results don't depend on the target project's config.
PR
Happy to help implement this if the direction is agreed.
- Lingua principale
- Python
- Stelle
- 220
- Fork
- 54
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bmad-code-org/bmad-builder
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bmad-code-org/bmad-builder#157 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bmad-code-org/bmad-builder#153 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bmad-code-org/bmad-builder#151 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
bmad-code-org/bmad-builder#127 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bmad-code-org/bmad-builder#123 ·
Tutte le issue di bmad-code-org/bmad-builder
Issue simili
-
namespace
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
EclipseFdn/open-vsx.org#15604 ·
I maintainer di solito rispondono entro 1 giorno
-
app: scripts severity: low status: backlog type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
netbox-community/netbox-scripts#164 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 5 giorni
-
Public function to read participants.tsvForse già presa @bruAristimunha l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
huggingface/tau#799 ·
I maintainer di solito rispondono entro 2 giorni