memesearch
Anti-Discrimination Taxi Algorithm

Anti-Discrimination Taxi Algorithm

Download Find similar pictures
Text on the meme
enum class UserTag(val value: Int) { NORMAL(0), XENOPHOBE(1), CANCELLER(2) } class AntiDiscriminationSystem(private val db: Database) { private val threshold = 0.85 private val minOrders = 5 fun checkUser(userId: String): UserTag { val orders = db.getFastCancels(userId) if (orders.size < minOrders) { return UserTag.NORMAL } val foreignCancels = orders.count { order -> db.isForeignDriver(order.driverId) } val ratio = foreignCancels.toDouble() / orders.size if (ratio >= threshold) { db.setUserTag(userId, UserTag.XENOPHOBE.value) return UserTag.XENOPHOBE } return UserTag.NORMAL }
What it means

A dark-themed code screenshot shows a Kotlin-like anti-discrimination system for a taxi app. It classifies users as NORMAL, XENOPHOBE, or CANCELLER by analyzing frequent cancellations and the proportion involving foreign drivers. The joke is an absurd satire of surveillance and accusations of xenophobia, matching the uploader’s story about Yandex Taxi secretly labeling racist passengers. EN: A dark-themed code screenshot shows a Kotlin-like anti-discrimination system for a taxi app. It classifies users as NORMAL, XENOPHOBE, or CANCELLER by analyzing frequent cancellations and the proportion involving foreign drivers. The joke is an absurd satire of surveillance and accusations of xenophobia, matching the uploader’s story about Yandex Taxi secretly labeling racist passengers.

Objects
Tags
Source
Type
image
Size
584×625 · 32.2 KiB
Mood
sarcastic, absurd
Language
en
Added