Perfect. Now I have a complete picture. Let me compile the comprehensive report:
COMPREHENSIVE BACKWARD-COMPAT REFERENCES REPORT
1. DEFAULT_DIMENSIONS (alias for DIMENSIONS)
Imports/Re-exports (Definition sites — excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/file.py:5 — Re-export definition
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:10 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:24 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/holistic.py:13 — Alias definition
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:55 — all entry
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:75 — all entry
Consumer Usage (actual calls/usage):
test_review.py
- Line 25:
from desloppify.intelligence.review import DEFAULT_DIMENSIONS
- Line 1146:
for dim in DEFAULT_DIMENSIONS:
- Line 1269:
assert "logic_clarity" in DEFAULT_DIMENSIONS
- Line 1270:
assert "abstraction_fitness" in DEFAULT_DIMENSIONS
- Line 1271:
assert "ai_generated_debt" in DEFAULT_DIMENSIONS
- Line 1313:
assert "ai_generated_debt" in DEFAULT_DIMENSIONS
- Line 1314:
assert "error_consistency" in DEFAULT_DIMENSIONS
test_review_coverage.py
- Line 19:
from desloppify.intelligence.review import DEFAULT_DIMENSIONS
- Line 388: Comment:
"""3 new dimensions present in DEFAULT_DIMENSIONS and DIMENSION_PROMPTS."""
- Line 391:
assert "abstraction_fitness" in DEFAULT_DIMENSIONS
- Line 394:
assert "error_consistency" in DEFAULT_DIMENSIONS
test_review_dimensions_direct.py
- Line 16:
from desloppify.intelligence.review.dimensions.file import DEFAULT_DIMENSIONS
- Line 122:
assert resolved == DEFAULT_DIMENSIONS
test_review_split.py
- Line 30:
"DEFAULT_DIMENSIONS", (in test data list)
test_state_internal_scoring_direct.py
- Line 25:
from desloppify.intelligence.review.dimensions.file import DEFAULT_DIMENSIONS
- Line 29:
"subjective_assessments": {dim: {"score": 100} for dim in DEFAULT_DIMENSIONS},
test_scoring.py
- Line 1013:
from desloppify.intelligence.review import DEFAULT_DIMENSIONS
- Line 1015:
assessments = {d: {"score": 0} for d in DEFAULT_DIMENSIONS}
- Line 1198:
from desloppify.intelligence.review import DEFAULT_DIMENSIONS
- Line 1206:
for dim in DEFAULT_DIMENSIONS:
2. HOLISTIC_DIMENSIONS (alias for DIMENSIONS)
Imports/Re-exports (Definition sites — excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/holistic.py:10 — Alias definition
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:12 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:26 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:56 — all entry
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:76 — all entry
Consumer Usage (actual calls/usage):
test_holistic_review.py
- Line 20:
from desloppify.intelligence.review import HOLISTIC_DIMENSIONS
- Line 121:
assert len(HOLISTIC_DIMENSIONS) == 20
- Line 124:
for dim in HOLISTIC_DIMENSIONS:
- Line 148:
assert dim in HOLISTIC_DIMENSIONS, ( (in f-string)
- Line 149:
f"{lang_name} dim {dim!r} not in HOLISTIC_DIMENSIONS"
test_review_split.py
- Line 31:
"HOLISTIC_DIMENSIONS", (in test data list)
test_scoring.py
- Line 1199:
from desloppify.intelligence.review import HOLISTIC_DIMENSIONS
- Line 1202:
for dim in HOLISTIC_DIMENSIONS:
test_direct_coverage_modules.py
- Line 217:
assert isinstance(review_dimensions_holistic.HOLISTIC_DIMENSIONS, list)
3. HOLISTIC_DIMENSION_PROMPTS (alias for DIMENSION_PROMPTS)
Imports/Re-exports (Definition sites — excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/holistic.py:11 — Alias definition
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:11 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:25 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:57 — all entry
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:78 — all entry
Consumer Usage (actual calls/usage):
test_holistic_review.py
- Line 19:
from desloppify.intelligence.review import HOLISTIC_DIMENSION_PROMPTS
- Line 125:
assert dim in HOLISTIC_DIMENSION_PROMPTS, f"Missing prompt for {dim}"
- Line 128:
for dim, prompt in HOLISTIC_DIMENSION_PROMPTS.items():
- Line 155:
assert dim in HOLISTIC_DIMENSION_PROMPTS, ( (in assertion)
- Line 1404:
prompt = HOLISTIC_DIMENSION_PROMPTS["convention_outlier"]
- Line 1627:
assert "authorization_consistency" in HOLISTIC_DIMENSION_PROMPTS
- Line 1628:
prompt = HOLISTIC_DIMENSION_PROMPTS["authorization_consistency"]
- Line 1634:
assert "ai_generated_debt" in HOLISTIC_DIMENSION_PROMPTS
- Line 1635:
prompt = HOLISTIC_DIMENSION_PROMPTS["ai_generated_debt"]
- Line 1640:
assert "incomplete_migration" in HOLISTIC_DIMENSION_PROMPTS
- Line 1641:
prompt = HOLISTIC_DIMENSION_PROMPTS["incomplete_migration"]
- Line 1679:
look_for = HOLISTIC_DIMENSION_PROMPTS["cross_module_architecture"]["look_for"]
- Line 1685:
look_for = HOLISTIC_DIMENSION_PROMPTS["high_level_elegance"]["look_for"]
- Line 2025:
assert "package_organization" in HOLISTIC_DIMENSION_PROMPTS
- Line 2026:
prompt = HOLISTIC_DIMENSION_PROMPTS["package_organization"]
4. HOLISTIC_REVIEW_SYSTEM_PROMPT (alias for REVIEW_SYSTEM_PROMPT)
Imports/Re-exports (Definition sites — excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/holistic.py:12 — Alias definition
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:13 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:27 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:59 — all entry
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:79 — all entry
Consumer Usage (actual calls/usage):
test_holistic_review.py
- Line 22:
from desloppify.intelligence.review import HOLISTIC_REVIEW_SYSTEM_PROMPT
- Line 135:
assert "IMPORT GUARD" in HOLISTIC_REVIEW_SYSTEM_PROMPT
- Line 136:
assert "related_files" in HOLISTIC_REVIEW_SYSTEM_PROMPT
5. resolve_per_file_dimensions (backward-compat alias for resolve_dimensions)
Definition site (excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/selection.py:50 — Alias function definition
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:36 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:84 — all entry
Consumer Usage (actual calls/usage):
test_review_dimensions_direct.py
- Line 106:
resolved = dimensions_selection_mod.resolve_per_file_dimensions(
- Line 112:
resolved = dimensions_selection_mod.resolve_per_file_dimensions(
- Line 118:
resolved = dimensions_selection_mod.resolve_per_file_dimensions(
6. resolve_holistic_dimensions (backward-compat alias for resolve_dimensions)
Definition site (excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/selection.py:63 — Alias function definition
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:36 — Re-export import
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/__init__.py:85 — all entry
Consumer Usage (actual calls/usage):
test_review_dimensions_direct.py
- Line 137:
resolved = dimensions_selection_mod.resolve_holistic_dimensions(
- Line 143:
resolved = dimensions_selection_mod.resolve_holistic_dimensions(
- Line 149:
resolved = dimensions_selection_mod.resolve_holistic_dimensions(
7. known_per_file property on DimensionPolicy
Definition site (excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/policy.py:25 — Property definition
Consumer Usage:
NONE FOUND — Not used anywhere in the codebase.
8. known_holistic property on DimensionPolicy
Definition site (excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/policy.py:29 — Property definition
Consumer Usage:
NONE FOUND — Not used anywhere in the codebase.
9. holistic parameter to is_known_dimension, is_allowed_dimension, normalize_dimension_inputs
Definition sites (excluding):
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/dimensions/__init__.py:37 — is_known_dimension with holistic parameter
/Users/user_c042661f/Documents/desloppify/desloppify/intelligence/review/policy.py:71 — is_allowed_dimension with holistic parameter
Consumer Usage:
NONE FOUND — The holistic= parameter is not passed in any actual code (only defined in function signatures).
SUMMARY
Total backward-compat references found: 54 consumer usages
- DEFAULT_DIMENSIONS: 13 usages across 5 test files
- HOLISTIC_DIMENSIONS: 8 usages across 3 test files
- HOLISTIC_DIMENSION_PROMPTS: 14 usages in 1 test file (test_holistic_review.py)
- HOLISTIC_REVIEW_SYSTEM_PROMPT: 3 usages in 1 test file (test_holistic_review.py)
- resolve_per_file_dimensions: 3 usages in 1 test file (test_review_dimensions_direct.py)
- resolve_holistic_dimensions: 3 usages in 1 test file (test_review_dimensions_direct.py)
- known_per_file property: 0 usages
- known_holistic property: 0 usages
- holistic parameter: 0 usages
All consumer usages are in test files. No production code uses these backward-compat names.