rcaground 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rcaground-0.1.0/.github/ISSUE_TEMPLATE/bug_report.md +13 -0
- rcaground-0.1.0/.github/ISSUE_TEMPLATE/feature_request.md +11 -0
- rcaground-0.1.0/.github/workflows/ci.yml +28 -0
- rcaground-0.1.0/.github/workflows/release.yml +45 -0
- rcaground-0.1.0/.gitignore +16 -0
- rcaground-0.1.0/.mailmap +3 -0
- rcaground-0.1.0/.zenodo.json +20 -0
- rcaground-0.1.0/AI_USAGE.md +21 -0
- rcaground-0.1.0/CHANGELOG.md +61 -0
- rcaground-0.1.0/CITATION.cff +19 -0
- rcaground-0.1.0/CODE_OF_CONDUCT.md +13 -0
- rcaground-0.1.0/CONTRIBUTING.md +58 -0
- rcaground-0.1.0/CONVERSION.md +711 -0
- rcaground-0.1.0/LICENSE +201 -0
- rcaground-0.1.0/PKG-INFO +136 -0
- rcaground-0.1.0/README.md +105 -0
- rcaground-0.1.0/SECURITY.md +23 -0
- rcaground-0.1.0/docs/b2_rcaeval_parity_report.csv +7 -0
- rcaground-0.1.0/docs/b2_rcaeval_parity_report.md +26 -0
- rcaground-0.1.0/docs/faithfulness/judge_scores.jsonl +67 -0
- rcaground-0.1.0/docs/faithfulness/manifest.json +52 -0
- rcaground-0.1.0/docs/faithfulness_task1.4/cost_ledger.jsonl +302 -0
- rcaground-0.1.0/docs/faithfulness_task1.4/drawn_sample.json +92 -0
- rcaground-0.1.0/docs/faithfulness_task1.4/judge_scores_expanded.jsonl +114 -0
- rcaground-0.1.0/docs/faithfulness_task1.4/judge_scores_probe.jsonl +37 -0
- rcaground-0.1.0/docs/faithfulness_task1.4/manifest.json +99 -0
- rcaground-0.1.0/docs/faithfulness_task1.4/sampling_frame.json +542 -0
- rcaground-0.1.0/docs/human_rating_rubric.md +221 -0
- rcaground-0.1.0/docs/protocol.md +78 -0
- rcaground-0.1.0/pyproject.toml +55 -0
- rcaground-0.1.0/scripts/download_openrca.py +260 -0
- rcaground-0.1.0/scripts/download_rcaeval.py +148 -0
- rcaground-0.1.0/src/rcaground/__init__.py +14 -0
- rcaground-0.1.0/src/rcaground/agents/__init__.py +0 -0
- rcaground-0.1.0/src/rcaground/agents/evidence.py +322 -0
- rcaground-0.1.0/src/rcaground/agents/rca.py +333 -0
- rcaground-0.1.0/src/rcaground/audit/__init__.py +0 -0
- rcaground-0.1.0/src/rcaground/audit/ledger.py +129 -0
- rcaground-0.1.0/src/rcaground/audit/manifest.py +170 -0
- rcaground-0.1.0/src/rcaground/bench/__init__.py +3 -0
- rcaground-0.1.0/src/rcaground/bench/baselines/__init__.py +23 -0
- rcaground-0.1.0/src/rcaground/bench/baselines/openrca_agent.py +288 -0
- rcaground-0.1.0/src/rcaground/bench/baselines/rcaeval_baseline.py +134 -0
- rcaground-0.1.0/src/rcaground/bench/baselines/rules.py +65 -0
- rcaground-0.1.0/src/rcaground/bench/baselines/single_prompt_llm.py +122 -0
- rcaground-0.1.0/src/rcaground/bench/build_rating_harness.py +123 -0
- rcaground-0.1.0/src/rcaground/bench/configs/re1_ob_smoke.yaml +14 -0
- rcaground-0.1.0/src/rcaground/bench/configs/re2_ob_smoke.yaml +14 -0
- rcaground-0.1.0/src/rcaground/bench/dependency.py +50 -0
- rcaground-0.1.0/src/rcaground/bench/faithfulness.py +463 -0
- rcaground-0.1.0/src/rcaground/bench/metrics.py +251 -0
- rcaground-0.1.0/src/rcaground/bench/run_benchmark.py +254 -0
- rcaground-0.1.0/src/rcaground/bench/run_faithfulness_study.py +318 -0
- rcaground-0.1.0/src/rcaground/classifier/__init__.py +0 -0
- rcaground-0.1.0/src/rcaground/classifier/taxonomy.py +59 -0
- rcaground-0.1.0/src/rcaground/data/alert_rules.yaml +104 -0
- rcaground-0.1.0/src/rcaground/data/taxonomy.yaml +72 -0
- rcaground-0.1.0/src/rcaground/graph/__init__.py +0 -0
- rcaground-0.1.0/src/rcaground/graph/builder.py +150 -0
- rcaground-0.1.0/src/rcaground/graph/evidence.py +58 -0
- rcaground-0.1.0/src/rcaground/llm/__init__.py +0 -0
- rcaground-0.1.0/src/rcaground/llm/client.py +309 -0
- rcaground-0.1.0/src/rcaground/llm/providers.py +42 -0
- rcaground-0.1.0/src/rcaground/signals/__init__.py +4 -0
- rcaground-0.1.0/src/rcaground/signals/alert_synth.py +457 -0
- rcaground-0.1.0/src/rcaground/signals/log_template.py +51 -0
- rcaground-0.1.0/src/rcaground/signals/openrca.py +639 -0
- rcaground-0.1.0/src/rcaground/signals/rcaeval.py +328 -0
- rcaground-0.1.0/src/rcaground/signals/types.py +121 -0
- rcaground-0.1.0/tests/__init__.py +0 -0
- rcaground-0.1.0/tests/contract/__init__.py +0 -0
- rcaground-0.1.0/tests/contract/test_adapter_contract.py +192 -0
- rcaground-0.1.0/tests/fixtures/README.md +67 -0
- rcaground-0.1.0/tests/fixtures/openrca/agent-Bank.csv +1653 -0
- rcaground-0.1.0/tests/fixtures/openrca_bank/Bank/query.csv +8 -0
- rcaground-0.1.0/tests/fixtures/openrca_bank/Bank/record.csv +4 -0
- rcaground-0.1.0/tests/fixtures/openrca_bank/Bank/telemetry/2021_03_04/log/log_service.csv +6313 -0
- rcaground-0.1.0/tests/fixtures/openrca_bank/Bank/telemetry/2021_03_04/metric/metric_app.csv +67 -0
- rcaground-0.1.0/tests/fixtures/openrca_bank/Bank/telemetry/2021_03_04/metric/metric_container.csv +5284 -0
- rcaground-0.1.0/tests/fixtures/openrca_bank/Bank/telemetry/2021_03_04/trace/trace_span.csv +20525 -0
- rcaground-0.1.0/tests/fixtures/openrca_bank_golden.json +4536 -0
- rcaground-0.1.0/tests/fixtures/openrca_market_synthetic/Market/cloudbed-1/record.csv +4 -0
- rcaground-0.1.0/tests/fixtures/openrca_market_synthetic/Market/cloudbed-1/telemetry/2022_03_20/metric/metric_container.csv +373 -0
- rcaground-0.1.0/tests/fixtures/openrca_market_synthetic/Market/cloudbed-1/telemetry/2022_03_20/metric/metric_service.csv +193 -0
- rcaground-0.1.0/tests/fixtures/openrca_market_synthetic/Market/cloudbed-2/record.csv +4 -0
- rcaground-0.1.0/tests/fixtures/openrca_market_synthetic/Market/cloudbed-2/telemetry/2022_03_20/metric/metric_container.csv +373 -0
- rcaground-0.1.0/tests/fixtures/openrca_market_synthetic/Market/cloudbed-2/telemetry/2022_03_20/metric/metric_service.csv +193 -0
- rcaground-0.1.0/tests/fixtures/openrca_telecom_synthetic/Telecom/record.csv +4 -0
- rcaground-0.1.0/tests/fixtures/openrca_telecom_synthetic/Telecom/telemetry/2020_04_11/metric/metric_app.csv +94 -0
- rcaground-0.1.0/tests/fixtures/openrca_telecom_synthetic/Telecom/telemetry/2020_04_11/metric/metric_container.csv +364 -0
- rcaground-0.1.0/tests/fixtures/rcaeval/RE1-OB/productcatalogservice_cpu/1/data.csv +301 -0
- rcaground-0.1.0/tests/fixtures/rcaeval/RE1-OB/productcatalogservice_cpu/1/inject_time.txt +1 -0
- rcaground-0.1.0/tests/fixtures/rcaeval/RE2-OB/checkoutservice_delay/1/inject_time.txt +1 -0
- rcaground-0.1.0/tests/fixtures/rcaeval/RE2-OB/checkoutservice_delay/1/logs.csv +401 -0
- rcaground-0.1.0/tests/fixtures/rcaeval/RE2-OB/checkoutservice_delay/1/simple_metrics.csv +121 -0
- rcaground-0.1.0/tests/fixtures/rcaeval/RE2-OB/checkoutservice_delay/1/traces.csv +401 -0
- rcaground-0.1.0/tests/test_alert_synth.py +306 -0
- rcaground-0.1.0/tests/test_b2_rcaeval_parity.py +117 -0
- rcaground-0.1.0/tests/test_b5_openrca_agent.py +135 -0
- rcaground-0.1.0/tests/test_bench_metrics.py +327 -0
- rcaground-0.1.0/tests/test_dependency.py +56 -0
- rcaground-0.1.0/tests/test_evidence.py +436 -0
- rcaground-0.1.0/tests/test_faithfulness.py +417 -0
- rcaground-0.1.0/tests/test_graph_builder.py +248 -0
- rcaground-0.1.0/tests/test_llm_client.py +162 -0
- rcaground-0.1.0/tests/test_no_random_in_loop.py +58 -0
- rcaground-0.1.0/tests/test_openrca_adapter.py +346 -0
- rcaground-0.1.0/tests/test_openrca_downloader.py +154 -0
- rcaground-0.1.0/tests/test_openrca_market_adapter.py +165 -0
- rcaground-0.1.0/tests/test_openrca_real_data.py +72 -0
- rcaground-0.1.0/tests/test_openrca_telecom_adapter.py +143 -0
- rcaground-0.1.0/tests/test_rca_agent.py +374 -0
- rcaground-0.1.0/tests/test_rcaeval_adapter.py +217 -0
- rcaground-0.1.0/tests/test_rcaeval_downloader.py +115 -0
- rcaground-0.1.0/tests/test_rcaeval_metrics_file_resolution.py +40 -0
- rcaground-0.1.0/tests/test_run_benchmark.py +162 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Something does not work as documented
|
|
4
|
+
labels: bug
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
**What happened**
|
|
8
|
+
|
|
9
|
+
**What you expected**
|
|
10
|
+
|
|
11
|
+
**How to reproduce** (command, config, dataset and case ID if relevant)
|
|
12
|
+
|
|
13
|
+
**Environment** (`python --version`, `pip show rcaground`, OS)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
fail-fast: false
|
|
13
|
+
matrix:
|
|
14
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
- uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
python-version: ${{ matrix.python-version }}
|
|
20
|
+
cache: pip
|
|
21
|
+
- name: Install
|
|
22
|
+
run: pip install -e ".[dev]"
|
|
23
|
+
- name: Lint (syntax and undefined names)
|
|
24
|
+
run: ruff check src tests scripts
|
|
25
|
+
- name: Test (offline, no API keys)
|
|
26
|
+
run: pytest -q
|
|
27
|
+
- name: Smoke benchmark
|
|
28
|
+
run: python -m rcaground.bench.run_benchmark --config src/rcaground/bench/configs/re1_ob_smoke.yaml
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
name: Build distribution
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.12"
|
|
19
|
+
- name: Install build tooling
|
|
20
|
+
run: python -m pip install --upgrade build
|
|
21
|
+
- name: Build sdist and wheel
|
|
22
|
+
run: python -m build
|
|
23
|
+
- name: Upload distribution artifacts
|
|
24
|
+
uses: actions/upload-artifact@v4
|
|
25
|
+
with:
|
|
26
|
+
name: release-dists
|
|
27
|
+
path: dist/
|
|
28
|
+
|
|
29
|
+
publish:
|
|
30
|
+
name: Publish to PyPI
|
|
31
|
+
needs: [build]
|
|
32
|
+
runs-on: ubuntu-latest
|
|
33
|
+
environment:
|
|
34
|
+
name: pypi
|
|
35
|
+
url: https://pypi.org/p/rcaground
|
|
36
|
+
permissions:
|
|
37
|
+
id-token: write
|
|
38
|
+
steps:
|
|
39
|
+
- name: Download distribution artifacts
|
|
40
|
+
uses: actions/download-artifact@v4
|
|
41
|
+
with:
|
|
42
|
+
name: release-dists
|
|
43
|
+
path: dist/
|
|
44
|
+
- name: Publish package to PyPI
|
|
45
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*.egg-info/
|
|
4
|
+
.venv/
|
|
5
|
+
venv/
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
.ruff_cache/
|
|
10
|
+
.hypothesis/
|
|
11
|
+
# Full datasets are downloaded by scripts/ and never committed.
|
|
12
|
+
data/rcaeval/
|
|
13
|
+
data/openrca/
|
|
14
|
+
# Ephemeral run output; cite only artefacts committed under docs/.
|
|
15
|
+
results/
|
|
16
|
+
.llm_cache/
|
rcaground-0.1.0/.mailmap
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
Sankaranainar Paramasivan <61329022+sankaranainar-p@users.noreply.github.com> sankar-devops-sre <61329022+Sankar-learn@users.noreply.github.com>
|
|
2
|
+
Sankaranainar Paramasivan <61329022+sankaranainar-p@users.noreply.github.com> sankaranainar-parmasivan <61329022+sankaranainar-p@users.noreply.github.com>
|
|
3
|
+
Sankaranainar Paramasivan <61329022+sankaranainar-p@users.noreply.github.com> <p.sankarnainar@gmail.com>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "rcaground: Reproducible evaluation of evidence grounding in LLM-generated root cause analysis",
|
|
3
|
+
"description": "Reproducible evaluation of evidence grounding in LLM-generated root cause analysis for microservice systems. Provides normalised adapters for public RCA benchmarks (RCAEval, OpenRCA), deterministic evidence ranking, two-stage claim-level faithfulness checking, and a benchmark harness with run manifests and human-rating calibration.",
|
|
4
|
+
"upload_type": "software",
|
|
5
|
+
"creators": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Paramasivan, Sankaranainar",
|
|
8
|
+
"orcid": "0009-0006-1738-3863"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"root cause analysis",
|
|
14
|
+
"AIOps",
|
|
15
|
+
"large language models",
|
|
16
|
+
"faithfulness",
|
|
17
|
+
"evaluation",
|
|
18
|
+
"microservices"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# AI usage disclosure
|
|
2
|
+
|
|
3
|
+
This file records how generative AI tools were used in building this
|
|
4
|
+
software, in the form the Journal of Open Source Software requires. It is
|
|
5
|
+
updated as the project evolves and summarised in the paper's
|
|
6
|
+
"AI usage disclosure" section.
|
|
7
|
+
|
|
8
|
+
| Tool and version | Where used | Nature of assistance |
|
|
9
|
+
|---|---|---|
|
|
10
|
+
| Claude (Anthropic), model `claude-opus-5-5` | Repository extraction and setup, October 2026 | Extracting the package from the upstream repository with history; renaming the package and domain-neutral terminology; packaging, CI, README, contribution and citation files; porting the evaluation protocol |
|
|
11
|
+
| Claude (Anthropic), model `claude-sonnet-5-5` | `src/rcaground/signals/openrca.py`, `scripts/download_openrca.py`, October 2026 | Refactoring the OpenRCA adapter and downloader to take a system argument; writing the accompanying tests |
|
|
12
|
+
| Claude (Anthropic), model `claude-sonnet-5-5` | `src/rcaground/bench/metrics.py`, `src/rcaground/bench/run_benchmark.py`, November 2026 | Implementing the MRR and Lift@k metrics and their benchmark CSV columns; writing the tests and protocol text |
|
|
13
|
+
| Not recorded | Upstream source code, tests, documentation (prior to extraction) | Not recorded |
|
|
14
|
+
|
|
15
|
+
## Human review
|
|
16
|
+
|
|
17
|
+
The maintainer framed the research problem, made the core design decisions
|
|
18
|
+
(evidence pack design, two-stage faithfulness, judge family separation,
|
|
19
|
+
evaluation protocol), and reviewed, edited and validated all AI-assisted
|
|
20
|
+
output. Correctness is checked by the automated test suite, which runs on
|
|
21
|
+
every commit, and by the committed study artefacts under `docs/`.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project
|
|
5
|
+
uses [Semantic Versioning](https://semver.org/).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [0.1.0] - 2026-11-25
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- `Claim.causal_edges` (optional, default empty), an opt-in
|
|
13
|
+
`RCAAgent(..., request_edges=True)` prompt that asks for them (the default
|
|
14
|
+
prompt is byte-identical, pinned by a hash test), and
|
|
15
|
+
`rcaground.bench.dependency` with `classify_edge` and
|
|
16
|
+
`hallucinated_dependency_rate` (HDR). The definition, the four edge classes
|
|
17
|
+
and the limits of the check are in `docs/protocol.md`.
|
|
18
|
+
- `mean_reciprocal_rank` and `lift_at_k` in `rcaground.bench.metrics`; the
|
|
19
|
+
benchmark harness records each case's candidate-service count and writes
|
|
20
|
+
`mrr` and `lift_at_5` columns to `metrics.csv` beside `avg_at_5`. Both
|
|
21
|
+
definitions, including the ratio-of-means choice and how N is defined, are
|
|
22
|
+
in `docs/protocol.md`.
|
|
23
|
+
- `OpenRCAAdapter(root, system="Bank")` with a per-system `LAYOUTS` table
|
|
24
|
+
(timezone and telemetry file layout). Only Bank is verified; other systems
|
|
25
|
+
raise `NotImplementedError` until verified against real files. Bank case IDs
|
|
26
|
+
are unchanged. `scripts/download_openrca.py` takes `--system`.
|
|
27
|
+
- Telecom layout for the OpenRCA adapter (container and app metrics only; no
|
|
28
|
+
logs, spans or other metric files yet). `SystemLayout` now carries per-system
|
|
29
|
+
metric column names and time unit; Bank's output is unchanged and pinned by a
|
|
30
|
+
test. `CPU fault`, `network delay` and `network loss` map to the `cpu`,
|
|
31
|
+
`delay` and `loss` fault classes. The downloader skips layout paths a system
|
|
32
|
+
does not have.
|
|
33
|
+
- Market layouts for the OpenRCA adapter: `Market.cloudbed-1` and
|
|
34
|
+
`Market.cloudbed-2` (`Market/cloudbed-1` is accepted and normalised), loading
|
|
35
|
+
container and service metrics only. IDs contain no slash (case ID
|
|
36
|
+
`OpenRCA-Market.cloudbed-1_3_node-1`, system `openrca_market.cloudbed-1`).
|
|
37
|
+
Market's CPU, memory, disk, latency and packet-loss `reason` values map to
|
|
38
|
+
the `cpu`, `memory`, `disk`, `delay` and `loss` fault classes. The
|
|
39
|
+
downloader accepts both spellings. Logs, traces and the other metric files
|
|
40
|
+
are tracked in #21.
|
|
41
|
+
- Synthetic Telecom test fixture (`tests/fixtures/openrca_telecom_synthetic/`)
|
|
42
|
+
and an opt-in real-data test selected by `RCAGROUND_OPENRCA_ROOT`.
|
|
43
|
+
- Initial extraction from `ai-agentic-works/ai-payment-reliability-engine`
|
|
44
|
+
with git history preserved: RCAEval and OpenRCA adapters, evidence ranking,
|
|
45
|
+
dependency graph builder, reference RCA generator, two-stage faithfulness
|
|
46
|
+
checker, benchmark harness with baselines B1, B2, B4 and B5, human-rating
|
|
47
|
+
harness, run manifests and cost ledger.
|
|
48
|
+
- `docs/protocol.md`, ported from the upstream evaluation protocol, and the
|
|
49
|
+
committed faithfulness study artefacts it cites.
|
|
50
|
+
- Packaging (`pyproject.toml`, src layout), CI on Python 3.10 to 3.13,
|
|
51
|
+
contribution guidelines, citation metadata and AI usage disclosure.
|
|
52
|
+
|
|
53
|
+
### Changed
|
|
54
|
+
- `OpenRCABankAdapter` is now a deprecated alias for
|
|
55
|
+
`OpenRCAAdapter(root, system="Bank")` and emits `DeprecationWarning`.
|
|
56
|
+
- Domain-specific service level indicator names replaced with generic ones.
|
|
57
|
+
- `pytz` replaced with the standard library `zoneinfo`.
|
|
58
|
+
|
|
59
|
+
### Removed
|
|
60
|
+
- B3 (ML triage) baseline and the scripts that depended on the upstream
|
|
61
|
+
triage classifier.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use this software, please cite it using these metadata."
|
|
3
|
+
title: "rcaground: Reproducible evaluation of evidence grounding in LLM-generated root cause analysis"
|
|
4
|
+
type: software
|
|
5
|
+
authors:
|
|
6
|
+
- family-names: "Paramasivan"
|
|
7
|
+
given-names: "Sankaranainar"
|
|
8
|
+
orcid: "https://orcid.org/0009-0006-1738-3863"
|
|
9
|
+
repository-code: "https://github.com/sankaranainar-p/rcaground"
|
|
10
|
+
license: Apache-2.0
|
|
11
|
+
version: 0.1.0
|
|
12
|
+
date-released: 2026-11-25
|
|
13
|
+
keywords:
|
|
14
|
+
- root cause analysis
|
|
15
|
+
- AIOps
|
|
16
|
+
- large language models
|
|
17
|
+
- faithfulness
|
|
18
|
+
- evaluation
|
|
19
|
+
- microservices
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Code of conduct
|
|
2
|
+
|
|
3
|
+
This project follows the
|
|
4
|
+
[Contributor Covenant, version 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
|
|
5
|
+
|
|
6
|
+
In short: be respectful, assume good faith, critique work rather than people,
|
|
7
|
+
and keep discussion focused on the research and the software. Harassment of
|
|
8
|
+
any kind is not tolerated.
|
|
9
|
+
|
|
10
|
+
Report unacceptable behaviour privately to the maintainer at
|
|
11
|
+
p.sankarnainar@gmail.com. Reports will be handled confidentially, and the
|
|
12
|
+
maintainer may remove, edit or reject comments, commits, issues and other
|
|
13
|
+
contributions that violate this code.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Contributing to rcaground
|
|
2
|
+
|
|
3
|
+
Contributions of new benchmark adapters, baselines, metrics and judges are
|
|
4
|
+
welcome, as are bug reports and documentation fixes.
|
|
5
|
+
|
|
6
|
+
## Reporting problems and getting support
|
|
7
|
+
|
|
8
|
+
Open an issue at https://github.com/sankaranainar-p/rcaground/issues using
|
|
9
|
+
the bug report or feature request template. For usage questions, open an
|
|
10
|
+
issue with the `question` label. The maintainer aims to respond within one
|
|
11
|
+
week.
|
|
12
|
+
|
|
13
|
+
## Development setup
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
git clone https://github.com/sankaranainar-p/rcaground.git
|
|
17
|
+
cd rcaground
|
|
18
|
+
pip install -e ".[dev]"
|
|
19
|
+
pytest
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The test suite must pass offline: no API keys, no network, no full dataset
|
|
23
|
+
downloads. New tests that need real data should use a trimmed fixture under
|
|
24
|
+
`tests/fixtures/`; tests that need a model must skip cleanly when it is
|
|
25
|
+
unavailable.
|
|
26
|
+
|
|
27
|
+
## Pull requests
|
|
28
|
+
|
|
29
|
+
1. Open an issue first for anything larger than a small fix.
|
|
30
|
+
2. Keep each pull request to one logical change, with tests.
|
|
31
|
+
3. Run `ruff check src tests scripts` and `pytest` before pushing.
|
|
32
|
+
4. If a change alters how a reported metric is computed, update
|
|
33
|
+
`docs/protocol.md` in the same pull request and note it in
|
|
34
|
+
`CHANGELOG.md`.
|
|
35
|
+
|
|
36
|
+
## Adding a benchmark adapter
|
|
37
|
+
|
|
38
|
+
An adapter yields `(FailureCase, GroundTruth)` pairs (see
|
|
39
|
+
`rcaground/signals/types.py`) and must pass the shared contract test in
|
|
40
|
+
`tests/contract/test_adapter_contract.py`. Document any dataset quirk you had
|
|
41
|
+
to handle (timezones, column naming, missing modalities) in `CONVERSION.md`.
|
|
42
|
+
|
|
43
|
+
## Use of generative AI
|
|
44
|
+
|
|
45
|
+
AI assistance is permitted but must be disclosed in the pull request
|
|
46
|
+
description (tool, version, and what it was used for), and the contributor
|
|
47
|
+
remains responsible for reviewing and testing every change. See
|
|
48
|
+
`AI_USAGE.md` for the project's own disclosure.
|
|
49
|
+
|
|
50
|
+
## Governance
|
|
51
|
+
|
|
52
|
+
The project is currently maintained by its original author, who reviews and
|
|
53
|
+
merges pull requests and cuts releases. Contributors with sustained,
|
|
54
|
+
substantive contributions will be invited to become maintainers.
|
|
55
|
+
|
|
56
|
+
## Code of conduct
|
|
57
|
+
|
|
58
|
+
All participation is governed by [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
|