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

`save_config` should let you create missing scope id at lowest scope

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api, backend

Research direction

Look at the save_config function in the codebase to understand how scopes are handled. The issue describes three scenarios for creating missing scope IDs. Start by reading the existing tests for save_config to see current behavior. Then, implement the logic for creating missing scopes when allowed, and update the missing example in the README. Verify changes by running the project's test suite.

Written by the indexing model from the issue text.

Description

When saving a config to a single scope, when passing in a scope-id that does not exist, it should create it if you allow it.

When saving a config to multiple scopes where the the lowest scope-id does not exist and append_new_fields_to_last_scope is true, it should create a new scope and append all new fields to this scope if you allow it.

When saving a config to multiple scopes where one scope-id does not exist and it is not the lowest scope, it should be an error.

We should additionally update the missing example. The main use-case is being able to perform scope-specific calibrations (tied to the hostname or subject) for a specific instance and then save back overrides specific to that scope-id.

Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

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 AllenNeuralDynamics/ficus

All issues in AllenNeuralDynamics/ficus

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.