ANIALLATOR114 / SimplyTransport

SimplyTransport - API - Website - Ingesting and presenting Transport Information
https://simplytransport.ie
Apache License 2.0
2 stars 3 forks source link

Statistics - sorted - stop features enhanced #134

Closed ANIALLATOR114 closed 2 months ago

ANIALLATOR114 commented 2 months ago

Summary by Sourcery

Enhance statistics features by adding new stop-related statistics and sorting functionality. Improve the 'stop_features' endpoint to include total stop count. Update CLI commands in the documentation.

New Features:

Enhancements:

Documentation:

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request enhances the statistics and stop features functionality. Key changes include improved error handling in the CLI, new statistics for unsurveyed stops and stops with no features, additional CLI commands, and enhanced statistics handling with sorting and total override capabilities.

File-Level Changes

Files Changes
SimplyTransport/controllers/stats.py
SimplyTransport/domain/services/statistics_service.py
Enhanced statistics handling by adding sorting functionality and allowing total override in percentage calculations.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.