1"""Quality analysis utilities.

2

3 This package provides modular utilities for quality analysis including:

4- Compaction analysis for context optimization

5- Quality recommendations generation

6- Conversation summary creation and processing

7

8 All modules are designed to be reusable components that reduce code duplication

9 in the quality_engine module.

10"""

11

12 from session_buddy.utils.quality.compaction import (

13 check_git_activity,

14 count_significant_files,

15 evaluate_git_activity_heuristic,

16 evaluate_large_project_heuristic,

17 evaluate_python_project_heuristic,

18 get_default_compaction_reason,

19 get_fallback_compaction_reason,

20)

21 from session_buddy.utils.quality.recommendations import (

22 generate_quality_recommendations,

23)

24 from session_buddy.utils.quality.summary import (

25 create_empty_summary,

26 ensure_summary_defaults,

27 extract_decisions_from_content,

28 extract_next_steps_from_content,

29 extract_topics_from_content,

30 get_error_summary,

31 get_fallback_summary,

32 process_recent_reflections,

33)

34

35__all__ = [

36 # Compaction

37 "check_git_activity",

38 "count_significant_files",

39 # Summary

40 "create_empty_summary",

41 "ensure_summary_defaults",

42 "evaluate_git_activity_heuristic",

43 "evaluate_large_project_heuristic",

44 "evaluate_python_project_heuristic",

45 "extract_decisions_from_content",

46 "extract_next_steps_from_content",

47 "extract_topics_from_content",

48 # Recommendations

49 "generate_quality_recommendations",

50 "get_default_compaction_reason",

51 "get_error_summary",

52 "get_fallback_compaction_reason",

53 "get_fallback_summary",

54 "process_recent_reflections",

55]