Black-box testing Hinge with my own data

Nine months of my own Hinge data export, pandas and too much free time. What the timestamps reveal about the daily like cap, the paywall, the ranking and why the app shows me people 155 km away.

In March I installed Hinge. Nine months later, it turns out I’m not very good at dating apps, but I’m pretty good at being suspicious of them.

Hinge calls itself “the dating app designed to be deleted”, but it makes its money while you’re still on it. It also kept showing me people from 155 km away. So I asked for my data.

Side note: in the EU you can ask any company for a copy of the personal data they have about you (thanks GDPR ✨). Hinge sends you a zip with a bunch of CSVs and all your photos. Everything in this post comes from that zip and a lot of pandas. I didn’t scrape profiles, reverse-engineer the API or break into anything.

Privacy note: everything here is aggregated. You won’t find a name, a match’s message or anything else about the people on the other side of the screen. They didn’t sign up to end up on my blog.

What’s in the box

The zip has 24 folders. The interesting ones:

  • match_likes, match_skips, match_roses, match_blocks: every like, skip, rose and unmatch I made, with a millisecond timestamp and nothing else. No profile ID, no name, nothing about who.
  • chat_message: all my conversations, with an anonymized match_id.
  • user: this one is weird. Despite the name, it’s a sparse change log: 264 rows, each one containing only the fields that changed. Every time I touched a setting, a new row.
  • records_of_consent_history: 853 rows of Paywall Action. Yes, they log every time they show you the paywall. Remember this.
  • app_http_requests: 138k requests with IP and timestamp. Creepy, but I didn’t need it.

What’s not there: the likes I received. Hinge knows exactly who liked me, but apparently that’s not “my” data. Hmm.

So the challenge was to understand a recommendation algorithm with nothing but timestamps. Black box testing, except the black box is my love life.

The setup

Python, pandas, numpy, a scratch virtualenv. The charts are hand-rolled SVG, because I can’t resist over-engineering things.

Step one was turning that sparse change log into “what were my settings at any given moment”, then attaching those settings to every like and skip:

 1user = pd.read_csv("user/user.csv", dtype=str).fillna("")
 2user["ts"] = pd.to_datetime(user["timestamp"], utc=True)
 3
 4cols = ["max_distance", "max_distance_dealbreaker",
 5        "women_age_pref_min", "women_age_pref_max"]
 6state = (user.sort_values("ts")[["ts"] + cols]
 7         .replace("", np.nan)
 8         .ffill())                      # carry each setting forward until it changes
 9
10# every action gets the settings that were active at that exact moment
11actions = pd.merge_asof(actions.sort_values("ts"), state, on="ts")

merge_asof is the unsung hero of this whole post.

Bug #1: the phantom skip

First weird thing: about half of my likes have a skip logged ~19 milliseconds before them. I’m fast, but not that fast.

588 phantom skips, attached to 52% of the likes from the feed but only to 10% of the like-backs (more on those in a second).

So where do they come from? I don’t have Hinge’s source code, but the timestamps leave some clues:

  • the phantom shows up before 70% of the likes that come right after a skip, but only before 30% of the likes that come after another like;
  • when the previous skip is minutes old (a new session), it drops to 24%;
  • it’s there in every app version I used, so it’s not a bug from a single release;
  • the opposite, a skip logged right after a like, almost never happens (23 times).

My guess: when you send a like, the app first flushes whatever is still pending from the previous card, usually the last skip, and the server logs it a second time. 19 ms is roughly one request ahead of the like. Like-backs come from a different screen (the “Likes You” list) where there’s no pending skip, and in fact they almost never get a phantom.

But is it a duplicate, or a real skip that just got logged late? If it were the only record of one more skipped profile, the time between the previous skip and the like would include that extra profile too (my median skip takes ~9 seconds). It doesn’t: it’s ~27 seconds, exactly the time I usually spend on a profile I like. So it’s a duplicate, and I removed it:

1a = actions.sort_values("ts").reset_index(drop=True)
2gap_to_next = -a["ts"].diff(-1).dt.total_seconds()
3next_is_like = a["kind"].shift(-1).isin(["like", "rose"])
4
5phantom = (a["kind"] == "skip") & (gap_to_next < 1) & next_is_like
6a = a[~phantom]

That leaves 3,082 real skips, not 3,670.

Finding like-backs without IDs

Without IDs I can’t know which like turned into which match. But if someone already liked me and I like them back, the match is instant, and I usually write within seconds. So a like followed within 5 minutes by the first message of a new conversation is a like-back:

1first_msg = chats.groupby("match_id")["ts"].min().sort_values().values
2i = np.searchsorted(first_msg, likes["ts"].values)
3next_first_msg = first_msg[np.minimum(i, len(first_msg) - 1)]
4
5seconds = (next_first_msg - likes["ts"].values) / np.timedelta64(1, "s")
6likes["likeback"] = seconds <= 300

53 of my 135 conversations started this way. It’s a lower bound (if nobody wrote quickly, I miss it), but it’s the only window I have on the likes I received.

The daily cap: 7, then 8

Free Hinge gives you a limited number of likes per day. Everybody on the internet says 8. My data says… 7.

Days by number of regular likes sent. Until 24 April the wall is at 7, from 25 April at 8 (open full size)
Days by number of regular likes sent (no roses, no like-backs, no paid week)

From March 3 to April 24, 33 days stop at exactly 7 and only one reaches 8. From April 25, 36 days stop at exactly 8. Same app, same account, and overnight the wall moved by one. A/B test? Gradual rollout? Who knows. Hinge doesn’t publish the number anywhere, so technically nobody lied to me…

And when does the day reset? Not at midnight. I brute-forced it: for every possible reset time in 15-minute steps, count how many days go over the cap.

1for minutes in range(0, 24 * 60, 15):
2    shifted = likes["ts"].dt.tz_convert("Europe/Rome") - pd.Timedelta(minutes=minutes)
3    per_day = shifted.dt.date.value_counts()
4    print(f"{minutes // 60:02d}:{minutes % 60:02d}", (per_day > 8).sum())

Midnight puts 10 days over the limit. Any reset between 4 and 7 am leaves only 4. I basically never swipe between 3 and 7 am (surprisingly, I sleep), so that’s as precise as it gets. The internet says 4 am, and that fits.

Bonus: like-backs are free. On 7 different days I had already burned all my likes and still matched with people who had liked me first.

The paywall knows when you’re weak

Remember the 853 Paywall Action rows? Grouped by time, they become 217 separate paywall moments. Guess when they happen:

Paywall moments by likes already sent that day: 93 after 7 likes, 81 after 8 (open full size)
Paywall moments, by likes already sent that day

80% of them come right after my 7th or 8th like, the exact moment I run out. Capitalism has very good timing.

The feed is ranked (and you can see it)

Hinge says it shows you the people you’re most likely to like. If that’s true, the first profiles of the day should be the best ones. So I computed the share of profiles I liked by position in the day’s feed, cutting every day at the moment I ran out of likes (otherwise the cap would fake the effect):

Share of profiles liked by position in the day: 44% for the first three, about 9% after profile 50 (open full size)
Share of profiles I liked, by position in the day’s feed

44% of the first three, about 9% after the 50th. Looking only at the long days (40+ profiles) the shape is the same. Part of this could be me getting bored and pickier as I scroll… but the curve is too clean to be only me.

Then I split every day into sessions (20+ minutes of pause = new session) and compared the first profiles after opening the app with the ones at the same depth in the middle of a session:

Around profiles 21 to 40 of the day, the first three after reopening the app got 37% of my likes; later ones in the same session got 12% (open full size)
First 3 profiles after opening the app vs later in the same session

Around profiles 21–40 of the day, the first three after reopening the app got 37% of my likes, and the others got 12%. The stack gets re-ranked when you come back. Practical consequence: open the app a few times a day and spend a few likes each time, instead of burning everything in one long session.

Location is the real boost

In the summer I spent a few weeks in a big European capital. Same profile, same me (maybe a bit more tanned):

Instant matches per day: 0.21 at home, 1.24 in a big capital, 1.33 there while paying. Matches per 100 likes: 7.0, 15.2 and 5.6 (open full size)
Home vs a big capital, and the same capital while paying

At home I matched instantly with 0.21 people per day who had already liked me. In the capital it was 1.24, six times as many. And my own likes converted twice as often: 15 matches per 100 likes against 7.

Is it the bigger pool, or the “new face in town” effect? The data can’t tell. But nothing I changed on my profile in nine months moved the numbers like a plane ticket did.

Paying: more likes, worse likes

This one was on purpose. The only way to see what the paid features actually do to the algorithm is to pay for them, so I did: like 15 euro for a week of unlimited likes, plus another 15 euro for a Superboost (24 hours of “extra visibility”). Same city, same profile, the only variable was my wallet.

  • likes per day: from ~5 to 24 (63 in a single day, I was stress-testing it)
  • share of profiles I liked: from 36% to 57%
  • matches per 100 likes: from 15 to 5.6

It makes sense if the feed is ranked: once you’ve used the good stuff at the top, the extra likes go to people further down the stack, who are less likely to like you back. And the Superboost? 2 new conversations in its 24 hours, basically a normal day in that city.

That’s 30 euro to learn that the free tier is the best tier, which is cheap for an experiment.

Why do I see people from 155 km away?

This is the question that started everything. I live in a small city that Hinge doesn’t even consider a metro area (literally: metro_area: "Other"). My distance is set to 47. And still, every now and then, there they are: profiles from cities 155 km away.

The first part of the answer is in Hinge’s help pages. Unless you mark distance as a dealbreaker, it’s only a preference: the app “prioritizes people who meet your preferences but will show you other profiles as well”. My distance was flexible 59% of the time.

What the help page doesn’t say is how far “other profiles” goes.

Distance rings around me: 47 km, 76 km, and 160 km which is Hinge’s 100 mile maximum. The far-away profiles sit at about 155 km (open full size)
My radius vs where the far-away profiles come from

First problem: 47 what? The export stores plain numbers, no unit. When I signed up the value was 100, which matches Hinge’s maximum of 100 miles. So 47 is probably miles, about 76 km, which is still only half of 155.

Second: the far-away profiles are all around 155 km. And 100 miles is about 160 km. My theory: when the local pool runs dry (and in a small city it runs dry fast), Hinge tops up the feed with people out to its global ceiling. Prediction: I should never see anyone from the next big city, which is about 180 km away. I’m keeping an eye on it.

My own data agrees. With distance flexible I got twice as many profiles per day (24 vs 12), but deep in the feed I liked fewer of them: 8% against 12% after the 30th profile. The padding is lower-quality stuff.

Share liked by depth in the feed, distance as dealbreaker versus flexible (open full size)
Share liked by depth in the feed: distance as dealbreaker vs flexible

And a strict radius can run thin. In July, with distance as a dealbreaker, the first week was fine (all 8 likes every day), then it dropped to 2–22 profiles a day. Small city problems.

Does Hinge do what it says?

Mostly yes. The ranking, the 4 am reset, distance as a soft preference: all consistent with what they publish.

The mismatch is the cap: 7 likes a day for almost two months, instead of the 8 everybody talks about. Then there’s the stuff they just don’t tell you: like-backs are free, flexible distance goes out to ~160 km, the feed re-ranks when you reopen the app.

And the export itself is a bit weird: phantom skips, messages from people who unmatched seem to vanish, and the likes you received are not considered your data.

Plot twist: the bug is me

Of course, after nine months of judging an algorithm, I had to look at the other algorithm involved: me. My messages, in numbers:

  • 1,109 messages sent, median length 5 words. 97% start lowercase, 71% have no final punctuation.
  • 42% of the time I send 2+ messages in a row. Why send one message when you can send three?
  • 9% contain some form of ahahah. The longest: ahahahahah.
  • 8% have stretched letters (whennnn, rightttt), 11% have ?? or !!.
  • top emoji: ✨ and 😭. That’s my whole personality.
  • I opened 67% of my conversations, with a median first message of 4 words.

The algorithm can rank me however it wants, but some of these numbers are entirely my fault ahahah.

Do it yourself

If you’re in the EU, ask Hinge for your data (GDPR, article 15). Then:

  1. clean the phantom skips before anything else;
  2. rebuild your settings timeline from the user change log with a forward fill;
  3. detect like-backs from the first message of each conversation;
  4. remember that you only see one side: no likes received, no profiles you were shown.

Everything here is correlation from one person’s timestamps, so take it as a field report, not a paper.

PIRATE UTOPIA

Know someone who’d love this? Pass it on.

Filed under
  • data

Questions, corrections, half-baked ideas? Write to me. My address is scrambled at the bottom of the page to keep spam bots out. Tap or click it to see it in plain text. It’s base64, if you fancy decoding it.