Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Validation: Remove invalid "fix" actions

Aperta
#96 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@Prajna1999 ci sta già lavorando.

Dal 22/7/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Is your feature request related to a problem?
Some validators incorrectly flag the entire string and return an empty response when the "fix" on fail action is not applicable. This leads to user confusion and an inability to handle failures correctly.

Describe the solution you'd like

  • Identify validators that have the "fix" on fail action but do not accept it.
  • Remove the "fix" on fail action from those validators.
  • Implement an error message to prompt users to change the on_fail action to exception.
Original issue

Describe the bug
A clear and concise description of what the bug is.
There are some validators where the "fix" on fail action will not work. It will flag the entire string as the culprit and return an empty string as the response. So, determine which are the validators with this behavior and add remove this action from those validators.
Basically, if "fix" is added in the validator which doesn't accept it, we throw an error which nudges the user to update the on_fail action to exception.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Lingua principale
Python
Stelle
5
Fork
3
Merge medio
9g 13h
PR unite (30g)
2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ProjectTech4DevAI/kaapi-guardrails

Tutte le issue di ProjectTech4DevAI/kaapi-guardrails

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.