Skip to content

Commit 2dbeefb

Browse files
authored
Merge pull request #2 from ppon1086/dev
Promote OSS cleanup, tests, CI, and docs from dev to main
2 parents c5ee872 + a2a7457 commit 2dbeefb

48 files changed

Lines changed: 3253 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- dev
8+
- chore/**
9+
- feat/**
10+
- fix/**
11+
pull_request:
12+
branches:
13+
- main
14+
- dev
15+
16+
jobs:
17+
test:
18+
runs-on: ubuntu-latest
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
python-version: ["3.13"]
24+
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Set up Python
30+
uses: actions/setup-python@v5
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
34+
- name: Upgrade pip
35+
run: python -m pip install --upgrade pip setuptools wheel
36+
37+
- name: Install dependencies
38+
run: |
39+
pip install -r requirements.txt
40+
pip install -e .
41+
pip install pytest
42+
43+
- name: Run tests
44+
run: pytest -q

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Python
2+
__pycache__/
3+
*.pyc
4+
*.pyo
5+
6+
# Virtual environments
7+
.venv/
8+
.venv313/
9+
10+
# Build / packaging
11+
ragcitecheck.egg-info/
12+
dist/
13+
build/
14+
15+
# Outputs
16+
out_check/
17+
out_report/
18+
out_validate/
19+
20+
# OS
21+
.DS_Store
22+
Thumbs.db

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## Unreleased
6+
7+
### Added
8+
- adapter and harness utilities for evidence logging
9+
- minimal CLI smoke tests for validate and report
10+
- GitHub Actions CI for push and pull requests
11+
12+
### Changed
13+
- improved core validation and reporting flow
14+
- rewrote README for adoption, integration, and quickstart
15+
- updated minimal fixture logs for current CLI format
16+
- improved dependency setup for Python 3.13 development
17+
18+
### Fixed
19+
- CLI report wiring for evidence-key and alias handling
20+
- duplicate report call block in CLI
21+
- default alias issues in CLI field handling
22+
23+
## v0.1.0
24+
25+
### Added
26+
- initial validation and stability reporting pipeline
27+
- example logs and basic package skeleton

CONTRIBUTING.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Contributing
2+
3+
Thanks for your interest in contributing to `ragcitecheck`.
4+
5+
## Development setup
6+
7+
Clone the repo and create a virtual environment.
8+
9+
### Windows
10+
11+
```bash
12+
py -3.13 -m venv .venv313
13+
.venv313\Scripts\activate
14+
python -m pip install --upgrade pip setuptools wheel
15+
pip install -r requirements.txt
16+
pip install -e .
17+
pip install pytest
18+
```
19+
20+
### macOS / Linux
21+
22+
```bash
23+
python3.13 -m venv .venv313
24+
source .venv313/bin/activate
25+
python -m pip install --upgrade pip setuptools wheel
26+
pip install -r requirements.txt
27+
pip install -e .
28+
pip install pytest
29+
```
30+
31+
## Running tests
32+
33+
Run the smoke tests with:
34+
35+
```bash
36+
pytest -q
37+
```
38+
39+
## Project scope
40+
41+
`ragcitecheck` focuses on evidence stability diagnostics for RAG pipelines, including:
42+
43+
- document-level citation overlap
44+
- span-level evidence overlap
45+
- per-query instability summaries
46+
- lightweight validation and reporting workflows
47+
48+
Please keep changes aligned with this scope.
49+
50+
## Pull requests
51+
52+
Please open pull requests against the `dev` branch.
53+
54+
A good PR should:
55+
56+
- keep changes focused and small
57+
- include tests when behavior changes
58+
- avoid committing generated outputs or large artifacts
59+
- update docs when CLI behavior or input format changes
60+
61+
## Repo hygiene
62+
63+
Please do not commit:
64+
65+
- `__pycache__`
66+
- `.egg-info`
67+
- local virtual environments
68+
- generated reports
69+
- benchmark output folders
70+
- zip archives
71+
- large experiment artifacts
72+
73+
## Reporting issues
74+
75+
If you open an issue, it is helpful to include:
76+
77+
- the command you ran
78+
- the input format used
79+
- the exact error message
80+
- Python version
81+
- operating system

0 commit comments

Comments
 (0)