code-moniker-workspace 0.4.0

Workspace model, ports, snapshots, linkage, and change analysis for code-moniker.
Documentation
1
2
3
4
5
6
from analytics_service.models import Customer, RiskScore


class RiskPolicy:
    def evaluate(self, customer: Customer, features: dict[str, int]) -> RiskScore:
        return RiskScore(customer.customer_id, customer.segment)