empathy-framework 4.6.2__py3-none-any.whl → 4.6.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {empathy_framework-4.6.2.dist-info → empathy_framework-4.6.3.dist-info}/METADATA +1 -1
- {empathy_framework-4.6.2.dist-info → empathy_framework-4.6.3.dist-info}/RECORD +53 -20
- {empathy_framework-4.6.2.dist-info → empathy_framework-4.6.3.dist-info}/WHEEL +1 -1
- empathy_os/__init__.py +1 -1
- empathy_os/cli.py +361 -32
- empathy_os/config/xml_config.py +8 -3
- empathy_os/core.py +37 -4
- empathy_os/leverage_points.py +2 -1
- empathy_os/memory/short_term.py +45 -1
- empathy_os/meta_workflows/agent_creator 2.py +254 -0
- empathy_os/meta_workflows/builtin_templates 2.py +567 -0
- empathy_os/meta_workflows/cli_meta_workflows 2.py +1551 -0
- empathy_os/meta_workflows/form_engine 2.py +304 -0
- empathy_os/meta_workflows/intent_detector 2.py +298 -0
- empathy_os/meta_workflows/pattern_learner 2.py +754 -0
- empathy_os/meta_workflows/session_context 2.py +398 -0
- empathy_os/meta_workflows/template_registry 2.py +229 -0
- empathy_os/meta_workflows/workflow 2.py +980 -0
- empathy_os/models/token_estimator.py +16 -9
- empathy_os/models/validation.py +7 -1
- empathy_os/orchestration/pattern_learner 2.py +699 -0
- empathy_os/orchestration/real_tools 2.py +938 -0
- empathy_os/orchestration/real_tools.py +4 -2
- empathy_os/socratic/__init__ 2.py +273 -0
- empathy_os/socratic/ab_testing 2.py +969 -0
- empathy_os/socratic/blueprint 2.py +532 -0
- empathy_os/socratic/cli 2.py +689 -0
- empathy_os/socratic/collaboration 2.py +1112 -0
- empathy_os/socratic/domain_templates 2.py +916 -0
- empathy_os/socratic/embeddings 2.py +734 -0
- empathy_os/socratic/engine 2.py +729 -0
- empathy_os/socratic/explainer 2.py +663 -0
- empathy_os/socratic/feedback 2.py +767 -0
- empathy_os/socratic/forms 2.py +624 -0
- empathy_os/socratic/generator 2.py +716 -0
- empathy_os/socratic/llm_analyzer 2.py +635 -0
- empathy_os/socratic/mcp_server 2.py +751 -0
- empathy_os/socratic/session 2.py +306 -0
- empathy_os/socratic/storage 2.py +635 -0
- empathy_os/socratic/storage.py +2 -1
- empathy_os/socratic/success 2.py +719 -0
- empathy_os/socratic/visual_editor 2.py +812 -0
- empathy_os/socratic/web_ui 2.py +925 -0
- empathy_os/tier_recommender.py +5 -2
- empathy_os/workflow_commands.py +11 -6
- empathy_os/workflows/base.py +1 -1
- empathy_os/workflows/batch_processing 2.py +310 -0
- empathy_os/workflows/release_prep_crew 2.py +968 -0
- empathy_os/workflows/test_coverage_boost_crew 2.py +848 -0
- empathy_os/workflows/test_maintenance.py +3 -2
- {empathy_framework-4.6.2.dist-info → empathy_framework-4.6.3.dist-info}/entry_points.txt +0 -0
- {empathy_framework-4.6.2.dist-info → empathy_framework-4.6.3.dist-info}/licenses/LICENSE +0 -0
- {empathy_framework-4.6.2.dist-info → empathy_framework-4.6.3.dist-info}/top_level.txt +0 -0
|
@@ -16,6 +16,7 @@ Copyright 2025 Smart AI Memory, LLC
|
|
|
16
16
|
Licensed under Fair Source 0.9
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
import heapq
|
|
19
20
|
import logging
|
|
20
21
|
from dataclasses import dataclass, field
|
|
21
22
|
from datetime import datetime
|
|
@@ -598,7 +599,7 @@ class TestMaintenanceWorkflow:
|
|
|
598
599
|
"lines_of_code": f.lines_of_code,
|
|
599
600
|
"language": f.language,
|
|
600
601
|
}
|
|
601
|
-
for f in
|
|
602
|
+
for f in heapq.nlargest(limit, files, key=lambda x: x.impact_score)
|
|
602
603
|
]
|
|
603
604
|
|
|
604
605
|
def get_stale_tests(self, limit: int = 20) -> list[dict[str, Any]]:
|
|
@@ -610,7 +611,7 @@ class TestMaintenanceWorkflow:
|
|
|
610
611
|
"test_file": f.test_file_path,
|
|
611
612
|
"staleness_days": f.staleness_days,
|
|
612
613
|
}
|
|
613
|
-
for f in
|
|
614
|
+
for f in heapq.nlargest(limit, files, key=lambda x: x.staleness_days)
|
|
614
615
|
]
|
|
615
616
|
|
|
616
617
|
def get_test_health_summary(self) -> dict[str, Any]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|