feat: ML ETL extraction, subscription admin dashboard, loyalty rewards, and group billing - #1055
Open
maccoder374-sudo wants to merge 3 commits into
Open
Conversation
added 3 commits
August 26, 2026 23:50
…ing, OpenAPI 3.1 SDK generation, and auth strategies - Refactor smart contract into modular library submodules delegating to SubTrackrSubscription (Issue Smartdevs17#971) - Enhance error handling with domain error types, status codes, user messages, and recovery hints (Issue Smartdevs17#972) - Update OpenAPI 3.1 specification and automated SDK endpoint generator script (Issue Smartdevs17#973) - Expand modular authentication middleware with strategy ordering and route level authorization (Issue Smartdevs17#974)
…ling strategy, and context state management Fixes Smartdevs17#966 Fixes Smartdevs17#967 Fixes Smartdevs17#969 Fixes Smartdevs17#970
…ty rewards & group billing (Smartdevs17#968, Smartdevs17#965, Smartdevs17#962, Smartdevs17#960)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary & Description
This Pull Request delivers production-ready implementations resolving four outstanding issues across the SubTrackr platform:
Extract ML Service Feature Pipeline Into Standalone ETL Module
ChurnPredictionModelinml-service/models.pyto extract features via theChurnSignalExtractorfrom theetl/module.ml-service/model_registry.pyand API endpoints inml-service/main.pywithETLPipeline.ml-service/etl/tests/test_pipeline.py.Subscription Admin Dashboard With Management Capabilities
src/screens/AdminDashboardScreen.tsxwith role-based controls (admin,analyst,support).backend/services/shared/auditService.ts).src/services/__tests__/adminDashboardService.test.ts.Subscription Loyalty Program With Points and Rewards
contracts/subscription/src/loyalty.rs).src/store/gamificationStore.ts.src/store/__tests__/gamificationStore.test.ts.Subscription Group Plans With Member Management
backend/services/billing/groupBilling.ts, including member role assignments, seat limit enforcement, usage pooling, and billing overrides.src/services/__tests__/groupBilling.test.ts.Closing Issues
Closes #968
Closes #965
Closes #962
Closes #960
Verification & Testing
npx jest src/services/__tests__/groupBilling.test.ts src/services/__tests__/adminDashboardService.test.ts src/store/__tests__/gamificationStore.test.ts(All 45 tests passed).PYTHONPATH=ml-service python3 -m unittest discover ml-service/etl/tests(All 10 tests passed).