Contributing to Arcadic

Copy Markdown View Source

Thank you for your interest in contributing to Arcadic!

Prerequisites

  • Elixir 1.15+ and Erlang/OTP 26+
  • ArcadeDB (for integration tests) — e.g. docker run -p 2480:2480 \ -e JAVA_OPTS="-Darcadedb.server.rootPassword=playwithdata" arcadedata/arcadedb:26.11.1 (the version CI pins)

Getting Started

git clone https://github.com/baselabs/arcadic.git
cd arcadic
mix deps.get
mix test

Development Workflow

  1. Create a feature branch from main.
  2. Make your changes with clear, descriptive commit messages.
  3. Ensure all checks pass before opening a PR:
mix compile --warnings-as-errors  # Zero warnings
mix quality                       # format --check-formatted + credo --strict + dialyzer
mix test                          # Run tests (add ARCADIC_TEST_URL for the integration suite)

A notebook you change or add runs against your checkout and a live server with elixir scripts/run_notebook.exs notebooks/<name>.livemd (set ARCADIC_HTTP_URL and ARCADIC_PASSWORD, plus ARCADIC_BOLT_HOST/ARCADIC_BOLT_PORT for Bolt). CI runs every notebook the package ships the same way.

  1. Update CHANGELOG.md under [Unreleased].
  2. Open a Pull Request against main. A maintainer lands it: CI qualifies the commit on a kci/ branch, and main moves only when its qualified check passes.

Code Style

  • Use mix format — .formatter.exs holds the config.
  • Add @moduledoc and @doc to public modules and functions.
  • Read AGENTS.md before changing transport, error, or parameterization code — its Critical Rules are binding.

License

By contributing, you agree that your contributions will be licensed under the MIT License.