greenmining 0.1.9__tar.gz → 0.1.10__tar.gz
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.
- {greenmining-0.1.9/greenmining.egg-info → greenmining-0.1.10}/PKG-INFO +1 -1
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/__init__.py +1 -1
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/services/data_aggregator.py +1 -1
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/services/data_analyzer.py +2 -2
- {greenmining-0.1.9 → greenmining-0.1.10/greenmining.egg-info}/PKG-INFO +1 -1
- {greenmining-0.1.9 → greenmining-0.1.10}/pyproject.toml +1 -1
- {greenmining-0.1.9 → greenmining-0.1.10}/CHANGELOG.md +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/LICENSE +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/MANIFEST.in +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/README.md +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/__main__.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/__version__.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/cli.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/config.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/controllers/__init__.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/controllers/repository_controller.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/gsf_patterns.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/main.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/models/__init__.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/models/aggregated_stats.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/models/analysis_result.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/models/commit.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/models/repository.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/presenters/__init__.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/presenters/console_presenter.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/services/__init__.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/services/commit_extractor.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/services/github_fetcher.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/services/reports.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining/utils.py +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining.egg-info/SOURCES.txt +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining.egg-info/dependency_links.txt +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining.egg-info/entry_points.txt +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining.egg-info/requires.txt +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/greenmining.egg-info/top_level.txt +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/pytest.ini +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/setup.cfg +0 -0
- {greenmining-0.1.9 → greenmining-0.1.10}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: greenmining
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.10
|
|
4
4
|
Summary: Analyze GitHub repositories to identify green software engineering patterns and energy-efficient practices
|
|
5
5
|
Author-email: Your Name <your.email@example.com>
|
|
6
6
|
Maintainer-email: Your Name <your.email@example.com>
|
|
@@ -97,7 +97,7 @@ class DataAggregator:
|
|
|
97
97
|
pattern = result.get("known_pattern")
|
|
98
98
|
if pattern and pattern != "NONE DETECTED":
|
|
99
99
|
patterns = [pattern]
|
|
100
|
-
|
|
100
|
+
|
|
101
101
|
confidence = result.get("confidence", result.get("pattern_confidence", "low")).upper()
|
|
102
102
|
|
|
103
103
|
for pattern in patterns:
|
|
@@ -204,14 +204,14 @@ class DataAnalyzer:
|
|
|
204
204
|
"""
|
|
205
205
|
# Calculate summary statistics
|
|
206
206
|
green_aware_count = sum(1 for r in results if r["green_aware"])
|
|
207
|
-
|
|
207
|
+
|
|
208
208
|
# Count all matched patterns (results have gsf_patterns_matched which is a list)
|
|
209
209
|
all_patterns = []
|
|
210
210
|
for r in results:
|
|
211
211
|
patterns = r.get("gsf_patterns_matched", [])
|
|
212
212
|
if patterns: # If there are matched patterns
|
|
213
213
|
all_patterns.extend(patterns)
|
|
214
|
-
|
|
214
|
+
|
|
215
215
|
pattern_counts = Counter(all_patterns)
|
|
216
216
|
|
|
217
217
|
data = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: greenmining
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.10
|
|
4
4
|
Summary: Analyze GitHub repositories to identify green software engineering patterns and energy-efficient practices
|
|
5
5
|
Author-email: Your Name <your.email@example.com>
|
|
6
6
|
Maintainer-email: Your Name <your.email@example.com>
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "greenmining"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.10"
|
|
8
8
|
description = "Analyze GitHub repositories to identify green software engineering patterns and energy-efficient practices"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|