Skip to content

Add param name/names to error messages#222

Merged
James Ball (james-ball-qualcomm) merged 2 commits into
mainfrom
param_improvements
Mar 19, 2026
Merged

Add param name/names to error messages#222
James Ball (james-ball-qualcomm) merged 2 commits into
mainfrom
param_improvements

Conversation

@james-ball-qualcomm

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: James Ball <jameball@qti.qualcomm.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves diagnostics in the parameter definition generator by including the parameter name(s) in validation error messages, making it easier to pinpoint malformed entries in input YAML.

Changes:

  • Parse name/names earlier in add_parameter_entries to build a param_ref string.
  • Update multiple fatal(...) validation messages to include param_ref (name(s)) plus def_filename.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/create_params.py
Comment thread tools/create_params.py
…st one entry.

Signed-off-by: James Ball <jameball@qti.qualcomm.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/create_normative_rules.py
@james-ball-qualcomm James Ball (james-ball-qualcomm) merged commit 66df8e4 into main Mar 19, 2026
6 checks passed
@james-ball-qualcomm James Ball (james-ball-qualcomm) deleted the param_improvements branch March 19, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants