We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probably just as a policy option within ride pricing
def calculate_acceptance_threshold(self, ride_metadata): threshold = ( ride_metadata['cost_usd'] * self.preferences['cost_weight'] + ride_metadata['distance_km'] * self.preferences['distance_weight'] + ride_metadata['duration_min'] * self.preferences['duration_weight'] + ride_metadata['driver_rating'] * self.preferences['driver_rating_weight'] + ride_metadata['rider_rating'] * self.preferences['rider_rating_weight'] ) return threshold
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Probably just as a policy option within ride pricing
The text was updated successfully, but these errors were encountered: