This repository was archived by the owner on Mar 4, 2026. It is now read-only.
fix: pass validation when guardrail rule references missing field#48
Open
valentinabojan wants to merge 1 commit intomainfrom
Open
fix: pass validation when guardrail rule references missing field#48valentinabojan wants to merge 1 commit intomainfrom
valentinabojan wants to merge 1 commit intomainfrom
Conversation
3af69fd to
3b105ef
Compare
ctiliescuuipath
approved these changes
Mar 4, 2026
c80c42c to
d9b6866
Compare
…ield When a rule references a field that doesn't exist in the data, pass None as the value to detects_violation so the rule lambda can decide the outcome. Previously, missing fields caused the evaluator loop to be skipped entirely, incorrectly treating the rule as violated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d9b6866 to
feb2cc3
Compare
Member
|
@valentinabojan please port these changes over to uipath-python after we merge this PR UiPath/uipath-python#1403 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
if not fieldsinevaluate_word_rule,evaluate_number_rule, andevaluate_boolean_ruleTest plan
🤖 Generated with Claude Code