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
- Visual Studio Code with the following extensions:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rcabench_platform-0.1.11.tar.gz.
File metadata
- Download URL: rcabench_platform-0.1.11.tar.gz
- Upload date:
- Size: 172.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96aaa84c46ccd23c1790a061a95aca36982930b1481bd7c70e14a961c16b2d89
|
|
| MD5 |
aa41a914d8b1bb0f455b8ac62bfbb08d
|
|
| BLAKE2b-256 |
153d40b6d5a475b3bed6f26bc6b239b230b4897bdeb1f42696b7dc12b2395dad
|
File details
Details for the file rcabench_platform-0.1.11-py3-none-any.whl.
File metadata
- Download URL: rcabench_platform-0.1.11-py3-none-any.whl
- Upload date:
- Size: 43.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fce1258cc84bd527b15f15959d17133c56f3391b08b169f4489a8645955969d
|
|
| MD5 |
cc471a8dea68c8c49b2fed0f5a970e09
|
|
| BLAKE2b-256 |
60b2a477e0a27de7dd63d8b5dc3819d54290abcd14770afcf1c0e03f7bae5d05
|