Skip to main content

An experiment framework for Root Cause Analysis

Project description

rcabench-platform

An experiment framework for Root Cause Analysis (RCA), supporting fast development of RCA algorithms and their evaluation on various datasets.

Development Guide

Requirements

Operating System

This project is primarily developed and tested on Ubuntu 24.04 LTS or later versions. Other Linux distributions and macOS environments should be compatible with minimal configuration adjustments.

Windows is not officially supported. While some functionality may work in Windows environments (especially through WSL), we cannot guarantee full compatibility or provide dedicated support.

Toolchain

Toolchain Version
uv ^0.7.5
just ^1.21.0
Docker Engine *
Docker Compose *

IDE

Recommended setup

Git

Commit Message

We follow the Conventional Commits specification.

Branching Strategy

When you are developing a new feature, create a new branch from main and name it according to the following convention:

<your github id>/feat/<feature-name>

This branch prefixed with your github id, is your own working branch. You can force-push to it freely. Do anything you want in this branch.

When you are done with the feature, create a pull request to main and invite other developers to review your code. If the code is approved, it will be merged into main. Then you can start a new branch from main and continue your work.

The main branch is the default branch for this repository. main is protected and should not be used for development. Before merging any changes into main, ensure that the following conditions are met:

  • The branch is up to date with main.
  • The branch is free of merge conflicts.
  • The basic checks passed successfully.
  • The changes will not break other developers' workflow.

Workflow

Download source code

git clone git@github.com:LGU-SE-Internal/rcabench-platform.git
cd rcabench-platform

Run basic checks

just dev

If the basic checks pass, then your python environment is ready for development.

Local development services

docker compose up -d
docker compose down

We have the following localhost services running in the background:

  • neo4j: for graph visualization

Link datasets

Mount JuiceFS to your machine:

sudo juicefs mount redis://10.10.10.38:6379/1 /mnt/jfs -d --cache-size=1024

See infra/README.md for more details.

Link the datasets to the project directory:

mkdir -p data
cd data
ln -s /mnt/jfs/rcabench_platform_datasets ./

Commands

Test if the environment is set up correctly by running the following command:

./main.py self test

Notebooks

Edit the SDG Visualization notebook:

./notebooks/sdg.py

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcabench_platform-0.1.9.tar.gz (164.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcabench_platform-0.1.9-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file rcabench_platform-0.1.9.tar.gz.

File metadata

  • Download URL: rcabench_platform-0.1.9.tar.gz
  • Upload date:
  • Size: 164.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.8

File hashes

Hashes for rcabench_platform-0.1.9.tar.gz
Algorithm Hash digest
SHA256 15742b309e7d51cc6e54f79df2a5e8f584c5ebb7ab152d23da00a7fee386a919
MD5 4f26674aad6413449ae432f7bf182a42
BLAKE2b-256 17c089ed45c0c53ab573cf082dac10ca99453d93acf3d331e33aff5ae4c40484

See more details on using hashes here.

File details

Details for the file rcabench_platform-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for rcabench_platform-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 88a58b7f0a9f2e63922d7752b4932151d1a8556ffe0d01c22ddb9038dc358e87
MD5 d026b6588969b40fa0fedf8e6c9e2a08
BLAKE2b-256 7145e99be0cce551cacedfd77a7e48e49031124f529697b12968f17646d053cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page