| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 1 | 0% |
| Commands | 0 | 3 | 0 | 0% |
| Section tags | 1 | 2 | 2 | 20% |
What each file covers
Sections
0 shared · 1 only in A · 1 only in B- − AI Service Rules
- + Documentation Rules
Commands
0 shared · 3 only in A · 0 only in B- − python -m mypy app
- − python -m ruff check .
- − python -m pytest
Section tags
1 shared · 2 only in A · 2 only in B- − test
- − lint-format
- + code-style
- + docs
- do-not
Line diff
Aledon8/OpenLeukemia · .cursor/rules/ai-service.mdc
@@ −1 @@
1---
2description: Python FastAPI AI-service rules
3globs:
4 - "ai-service/**/*.py"
5alwaysApply: false
6---
7
8# AI Service Rules
9
10- Keep FastAPI route handlers thin; put reusable behavior in `app/domains`.
11- Use explicit Pydantic request and response models.
12- Preserve strict typing and keep `python -m mypy app` clean.
13- Use `response_model` for route outputs.
14- Treat extraction and model outputs as explainable signals or candidate data, not clinical decisions.
15- Run `python -m ruff check .` and relevant `python -m pytest` tests for Python changes.
16
Aledon8/OpenLeukemia · .cursor/rules/docs.mdc
@@ +1 @@
1---
2description: Documentation writing rules
3globs:
4 - "docs/**/*.md"
5 - "*.md"
6alwaysApply: false
7---
8
9# Documentation Rules
10
11- Write in plain, precise language for patients, contributors, and reviewers.
12- Keep privacy, consent, patient control, and non-diagnostic AI limits visible.
13- Prefer durable project facts over session-specific notes.
14- Match the structure and voice of nearby documents.
15
@@ −1 +1 @@
11 ---
2−description: Python FastAPI AI-service rules
2+description: Documentation writing rules
33 globs:
4− - "ai-service/**/*.py"
4+ - "docs/**/*.md"
5+ - "*.md"
56 alwaysApply: false
67 ---
78
8−# AI Service Rules
9+# Documentation Rules
910
10−- Keep FastAPI route handlers thin; put reusable behavior in `app/domains`.
11−- Use explicit Pydantic request and response models.
12−- Preserve strict typing and keep `python -m mypy app` clean.
13−- Use `response_model` for route outputs.
14−- Treat extraction and model outputs as explainable signals or candidate data, not clinical decisions.
15−- Run `python -m ruff check .` and relevant `python -m pytest` tests for Python changes.
11+- Write in plain, precise language for patients, contributors, and reviewers.
12+- Keep privacy, consent, patient control, and non-diagnostic AI limits visible.
13+- Prefer durable project facts over session-specific notes.
14+- Match the structure and voice of nearby documents.
1615
