Documented, stable Python API alongside the CLI
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- developer-experience
Research direction
Start by reading genopick/__init__.py, cli.py, and the docs, then review dependencies #35 and #38. Map the proposed public functions and result types to existing code before defining the stable API and workflow page. Done means __all__ is documented with runnable doctest examples, the CLI uses only public API functions, and the stability and deprecation policies are written down.
Written by the indexing model from the issue text.
Description
Problem
The CLI is the only documented interface. Python users dig into genopick.crossval/genopick.io internals, with no stability promise.
Proposed approach
- Define the public API in
genopick/__init__.py:read_genotype,read_phenotype,align_data,preprocess,cross_validate/benchmark(with the CV schemes),predict,get_models,generate_reportand the result types. - Give every public function a NumPy-style docstring with an example.
- Mark everything else private (underscore modules or
__all__), and state the stability policy in the docs (SemVer from 1.0). - Make the CLI a thin layer over this API.
Acceptance criteria
-
genopick.__all__lists the public API; each item has a docstring with a runnable example (checked by doctest in CI). - A docs page shows a full notebook-style workflow: load, CV, compare, predict.
- The CLI calls only public API functions (no private imports in
cli.py). - The deprecation policy is written down (warn for one minor release before removing anything).
Effort
M
Dependencies
#35, #38
Generated by Claude Code
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- Avg merge
- 2h 57m
- Merged PRs (30d)
- 6
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from josh45-source/genopick
-
ci enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
josh45-source/genopick#34 ·
-
enhancement packaging
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
josh45-source/genopick#33 ·
-
cli enhancement packaging release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
josh45-source/genopick#32 ·
-
docs enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
josh45-source/genopick#45 ·
-
docs enhancement release
Difficulty 4/5 3-5 days Newbie friendliness 45/100
josh45-source/genopick#44 ·
All issues in josh45-source/genopick
Similar issues
-
[Resource]: SpaicelyOpenresource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bvis/aegis-hass#725 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPossibly taken @NimaVaziri claimed this today. OpenPytorch
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainers usually reply within 1 day