Skip to content

feat: initial 1.0.0 release - #18

Merged
jaimeib merged 5 commits into
mainfrom
dev
Jun 16, 2026
Merged

feat: initial 1.0.0 release#18
jaimeib merged 5 commits into
mainfrom
dev

Conversation

@jaimeib

@jaimeib jaimeib commented Jun 1, 2026

Copy link
Copy Markdown
Member

No description provided.

jaimeib added 2 commits May 26, 2026 23:47
…es, and validation

- Implement tests for LoadService to validate filtering, grouping, and ordering of load metrics.
- Create tests for MixService to ensure proper handling of mix metrics, including filtering and grouping.
- Add tests for MixShareService to verify correct processing of mix share metrics and their structure.
- Develop tests for ScoreService to check filtering of scores, aggregation behavior, and grouping by zone and validity.
- Introduce tests for ZoneService to validate merging of zone metadata and provider normalization.
- Implement comprehensive tests for validation functions to ensure correct handling of various input scenarios.
import pytest
from fastapi.testclient import TestClient

from tests.unit.service.helpers import FakeMetric # noqa: F401 – re-exported for tests
Comment thread tests/unit/service/test_factors.py Fixed
Comment thread tests/unit/service/test_footprints.py Fixed
Comment thread tests/integration/test_generation.py Fixed
Comment thread tests/unit/service/test_generation.py Fixed
Comment thread tests/unit/service/test_impact_share.py Fixed
Comment thread tests/unit/service/test_scores.py Fixed
- Implement CI workflow for testing across multiple Python versions
- Create publish workflow for building and deploying Python package to PyPI and Docker
- Add release-please workflow for automated versioning and changelog generation
- Introduce pre-commit hooks for code quality checks
- Add CODE_OF_CONDUCT.md and SECURITY.md for community guidelines and vulnerability reporting
- Create CONTRIBUTING.md to outline contribution process and standards
- Add Dockerfile for containerizing the application
- Implement scripts for verifying wheel contents and Docker entrypoint
- Add integration and unit tests for application functionality
assert len(svc.get_exports()[0].series) == 2


def test_get_exports_with_destination_filter() -> None:
assert len(svc.get_flow_share()[0].series) == 2


def test_get_flow_share_with_destination_filter() -> None:
assert results == []


def test_get_impact_share_with_scope_filter() -> None:
assert len(svc.get_imports()[0].series) == 2


def test_get_imports_with_source_filter() -> None:
- Implemented a test to verify that a file handler is added when a log file is specified in the logging setup.
- Updated the integration test environment description to clarify that it runs against the full FastAPI app with storage mocked.
@@ -0,0 +1,170 @@
import logging
from pathlib import Path
@jaimeib jaimeib changed the title Dev feat: initial 1.0.0 release" Jun 16, 2026
@jaimeib jaimeib changed the title feat: initial 1.0.0 release" feat: initial 1.0.0 release Jun 16, 2026
@jaimeib
jaimeib merged commit da42569 into main Jun 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant