Both bugs and feature requests can be filed in the Github issue tracker, as well as general questions and feedback.
Bug reports are welcome, especially those reported with short, self-contained, correct examples.
You'll need python >=3.9, <3.13
to build the backend and Node>=20 to build the skore-ui. Then, you can install dependencies and run the UI with:
make install-skore
make build-skore-ui
make serve-skore-ui
You are now all setup to run the library locally. If you want to contribute, please continue with the three other sections.
Install backend dependencies with
make install-skore
You can run the API server with
make serve-api
Install skore-ui dependencies with
npm install
in the skore-ui
directory.
Run the skore-ui in dev mode (for hot-reloading) with
npm run dev
in the skore-ui
directory
Then, to use the skore-ui
make build-skore-ui
make serve-ui
To build the docs:
make build-doc
Then, you can access the local build via:
open doc/_build/html/index.html
We use the conventional commits format, and we automatically check that the PR title fits this format. In particular, commits are "sentence case", meaning "fix: Fix issue" passes, while "fix: fix issue" doesn't. Our custom set of rules is in commitlint.config.js.
Generally the description of a commit should start with a verb in the imperative voice, so that it would properly complete the sentence: "When applied, this commit will [...]".
When writing documentation, whether it be online, docstrings or help messages in the CLI and in the UI, we strive to follow some conventions that are listed below. These might be updated as time goes on.
- Argument descriptions should be written so that the following sentence makes sense:
Argument <argument> designates <argument description>
- Argument descriptions start with lower case, and do not end with a period or other punctuation
- Argument descriptions start with "the" where relevant, and "whether" for booleans
- Text is written in US english ("visualize" rather than "visualise")
- In the CLI, positional arguments are written in snake case (
snake_case
), keyword arguments in kebab case (kebab-case
) - When there is a default argument, it should be shown in the help message, typically with
(default: <default value>)
at the end of the message
Please check that your version of node is at least 20 using the following command: node -v