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

Automatically list-ify single references

Open
#43 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the ParameterNode type and the code that parses parameter YAML files. Define the transformation so an object-valued reference becomes a single-item list while already-list-valued references remain unchanged. Add or update tests for both YAML shapes and verify the resulting ParameterNode structure.

Written by the indexing model from the issue text.

Description

enhancement

Often when writing parameter YAML files, we specify an object rather than a list of objects:

reference:
  title: x
  href: y

instead of

reference:
  - title: x 
    href: y

We should have a f: ParameterNode -> ParameterNode function that automatically applies this correction.

Dominant language
Python
Stars
1
Forks
1
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 PolicyEngine/openfisca-tools

All issues in PolicyEngine/openfisca-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.