Menu

1 / 2

I Created a Ride Fare Challenge… And a 2km Trip Cost ₹487 🚕😭

DEV Community·Md Mijanur Molla·7 months ago
#qjeUjkuD
#ai#vibecode#pricing#fare#surge
Long article (278 words) — no AI summary yet.
Reading 0:00
15s threshold

You open a cab app.

Destination:

2 km away.

Expected fare?

Maybe ₹70.

Actual fare?

₹487

At that point…

Walking starts looking premium. 😅

So I turned this into a coding challenge.

And yes…

This is a real system problem.

🚨 The Problem

Basic fare logic sounds easy:

Calculate distance fare

Add surge pricing

Add weather charges

Done.

Right?

Not really.

⚠️ What Goes Wrong?

In real ride apps:

• Demand spikes suddenly

• Driver supply drops

• Surge multipliers stack badly

• Weather fees pile up

And suddenly:

👉 A short ride costs like airport travel.

Users feel pricing is random.

Sometimes… it almost is.

🧠 What I Observed

When exploring this:

Basic solutions handled formula math

Many ignored pricing caps

Some missed fairness logic

Very few thought about trust in pricing

The code works.

But users feel robbed 😭

🔍 The Real Issue

This is not just fare calculation.

It’s about:

• Dynamic pricing

• Fairness

• Supply-demand modeling

• User trust

Because:

👉 Correct math can…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.