Skip to content

Commit cb35aad

Browse files
committed
The RLM Research Lab
1 parent d8b2943 commit cb35aad

219 files changed

Lines changed: 20886 additions & 265 deletions

File tree

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.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
- name: Run ruff linter
3737
run: |
3838
source .venv/bin/activate
39-
ruff check rlm__code tests
39+
ruff check rlm_code tests
4040
4141
- name: Run ruff formatter check
4242
run: |
4343
source .venv/bin/activate
44-
ruff format --check rlm__code tests
44+
ruff format --check rlm_code tests
4545
4646
typecheck:
4747
name: Type Check
@@ -67,7 +67,7 @@ jobs:
6767
- name: Run mypy on core modules
6868
run: |
6969
source .venv/bin/activate
70-
mypy rlm__code/core/config.py rlm__code/core/debug_logger.py rlm__code/mcp/utils.py rlm__code/mcp/retry.py rlm__code/models/cache.py rlm__code/models/streaming.py rlm__code/validation/security.py --ignore-missing-imports
70+
mypy rlm_code/core/config.py rlm_code/core/debug_logger.py rlm_code/mcp/utils.py rlm_code/mcp/retry.py rlm_code/models/cache.py rlm_code/models/streaming.py rlm_code/validation/security.py --ignore-missing-imports
7171
7272
test:
7373
name: Test - Python ${{ matrix.python-version }} on ${{ matrix.os }}
@@ -99,7 +99,7 @@ jobs:
9999
- name: Run tests
100100
run: |
101101
source .venv/bin/activate || .venv\Scripts\activate
102-
pytest tests/ -v --cov=rlm__code --cov-report=xml --cov-report=term-missing
102+
pytest tests/ -v --cov=rlm_code --cov-report=xml --cov-report=term-missing
103103
104104
- name: Upload coverage
105105
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Follow our coding standards (see below).
117117
Write tests for new features and bug fixes.
118118

119119
```bash
120-
pytest tests/ -v --cov=rlm__code
120+
pytest tests/ -v --cov=rlm_code
121121
```
122122

123123
### 4. Format and Lint
@@ -132,7 +132,7 @@ ruff format .
132132
We use [mypy](https://mypy.readthedocs.io/) for static type checking:
133133

134134
```bash
135-
mypy rlm__code
135+
mypy rlm_code
136136
```
137137

138138
Note: Some third-party libraries (dspy, mcp, etc.) may not have complete type stubs, so some `ignore_missing_imports` exceptions are configured in `pyproject.toml`.
@@ -247,7 +247,7 @@ Organize imports in three groups (Ruff does this automatically):
247247
pytest
248248

249249
# Run with coverage
250-
pytest --cov=rlm__code --cov-report=html
250+
pytest --cov=rlm_code --cov-report=html
251251

252252
# Run specific test
253253
pytest tests/test_specific_file.py
@@ -281,7 +281,7 @@ When making changes:
281281

282282
```
283283
rlm-code/
284-
├── rlm__code/ # Main package
284+
├── rlm_code/ # Main package
285285
│ ├── commands/ # CLI commands
286286
│ ├── core/ # Core functionality
287287
│ ├── models/ # LLM integration
@@ -310,19 +310,19 @@ twine check dist/*
310310
```
311311

312312
The built packages will be in the `dist/` directory:
313-
* `rlm__code-X.Y.Z-py3-none-any.whl` - Wheel distribution
314-
* `rlm__code-X.Y.Z.tar.gz` - Source distribution
313+
* `rlm_code-X.Y.Z-py3-none-any.whl` - Wheel distribution
314+
* `rlm_code-X.Y.Z.tar.gz` - Source distribution
315315

316316
### Testing Package Installation
317317

318318
Test installing the built package:
319319

320320
```bash
321321
# Install from wheel
322-
uv pip install dist/rlm__code-*.whl
322+
uv pip install dist/rlm_code-*.whl
323323

324324
# Or install from source
325-
uv pip install dist/rlm__code-*.tar.gz
325+
uv pip install dist/rlm_code-*.tar.gz
326326

327327
# Verify installation
328328
rlm-code --version
@@ -334,7 +334,7 @@ The package uses modern Python packaging standards:
334334
* **`pyproject.toml`** - PEP 517/518 compliant build configuration
335335
* **`hatchling`** - Modern build backend (no setup.py needed)
336336
* **`MANIFEST.in`** - Controls which files are included in source distributions (README, LICENSE, CHANGELOG, etc.)
337-
* **Entry point** - `rlm-code` command defined in `[project.scripts]` mapping to `rlm__code.main:main`
337+
* **Entry point** - `rlm-code` command defined in `[project.scripts]` mapping to `rlm_code.main:main`
338338

339339
When adding files that should be included in distributions:
340340
* Update `MANIFEST.in` for source distributions

0 commit comments

Comments
 (0)