AllenInstitute / AllenInstitute/ConnectsCommonConnectivity

ClusterMembership: enforce merge keys in io, not schema

Open Beginner friendly
#14 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement io
Dominant language
Jupyter Notebook
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Problem: item and cluster are Optional in the schema and there is no id; merge keys (#13) must be non-null at write time.

Fix: add item, cluster to required_for_write (as already done for hierarchy_id); schema stays Optional.

Convention (decided): the schema is the standard (eventually its own repo); this io package is one wrapper around it. Constraints required only by this write method belong in the io layer, not the schema. Apply wherever merge keys land (#12 etc.).

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Locate ClusterMembership and the existing required_for_write handling, starting with the hierarchy_id convention. Add item and cluster wherever the merge keys are enforced in the io layer, apply the same rule to other merge-key locations such as #12, and leave the schema Optional.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.