Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Error Prone: bounds and element_bounds

Closed
#347 1 comment 0 reactions 0 assignees View on GitHub

@Daniiiil1 is already working on this.

Since Aug 7, 2026.

  • #373 by @Daniiiil1 — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

An open pull request, #373, is already linked to this issue, so check its status before considering the work. The issue points to parameter-definition validation during compilation; done means incompatible validation methods and parameter types produce a clear diagnostic instead of the confusing type errors described.

Written by the indexing model from the issue text.

Description

If we define something like

param:
  type: double_array
  description: "This param is supposed to be an array."
  default_value: [0.0, 0.0, 0.0]
  validation:
    fixed_size<>: [3]
    bounds<>: [0.0, 1000.0] # It should be element_bounds

If we provide

param: [0.0, 0.0, 0.0]

it will say "parameter 'param' has a invalid type: expected [double] got [double_array]".

If we provide

param: 0.0

it will say "parameter 'param' has a invalid type: expected [double_array] got [double]"

The root cause is that in the parameter definition, validation section, it should use element_bounds instead of bounds. It would be nice if we can check the parameter type and validation method are compatible during compilation. Otherwise the error message is confusing.

Dominant language
Python
Stars
385
Forks
81
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PickNikRobotics/generate_parameter_library

All issues in PickNikRobotics/generate_parameter_library

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.