Source
Synced / linked to GitHub for 1:1 mirror (2026-07-26).
Context
Several public API functions have incomplete or missing docstrings. Julia's @doc system and Documenter.jl rely on well-structured docstrings for REPL help and generated docs.
Functions needing docstring improvements
SparseBrain
EnsembleBrain
Reference LSM
Utility functions
Docstring format (Julia standard)
"""
function_name(arg1, arg2; kwarg=default)
One-line description.
# Arguments
- `arg1`: description
- `arg2`: description
# Keyword Arguments
- `kwarg`: description
# Examples
```julia
result = function_name(1, 2; kwarg=3)
Returns
Description of return value.
"""
## Acceptance criteria
- [ ] All exported functions have complete docstrings
- [ ] All docstrings include at least one usage example
- [ ] All docstrings document return types
- [ ] `julia --project -e 'using LiquidCortex; @doc SparseBrain'` shows complete docs
## Labels
`documentation`, `good first issue`
Source
Synced / linked to GitHub for 1:1 mirror (2026-07-26).
Limen-Neural/LiquidCortex.jlGH#20Context
Several public API functions have incomplete or missing docstrings. Julia's
@docsystem and Documenter.jl rely on well-structured docstrings for REPL help and generated docs.Functions needing docstring improvements
SparseBrain
step!()with inhibitionEnsembleBrain
ensemble_step!()Reference LSM
run_lsm_step— add example with custom n_outrun_lsm_step_str— add example_init_ref_lsm!— document when to call manuallyUtility functions
get_output— add exampleget_ensemble_output— add examplecompute_reservoir_covariance!— add example with return typediagnostics— add example outputensemble_diagnostics— add example outputDocstring format (Julia standard)
Returns
Description of return value.
"""