# Post import: user stats most-replied-to is empty

**URL:** https://meta.discourse.org/t/post-import-user-stats-most-replied-to-is-empty/91225
**Category:** Development
**Created:** [6월 29, 2018, 7:34오후 UTC](https://meta.discourse.org/t/post-import-user-stats-most-replied-to-is-empty/91225 "2018-06-29T19:34:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [6월 29, 2018, 7:34오후 UTC](https://meta.discourse.org/t/post-import-user-stats-most-replied-to-is-empty/91225/1 "2018-06-29T19:34:02Z")

</div>

On an import I just did, on a user profile page, the “most replied to” section is empty.

I think that sidekiq finished. It’s been on a production site for a few days. I don’t see a rake task that’s obviously going to populate that.

I tried `rake import:ensure_consistency`. No joy.

Anywhere else I should look?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [7월 3, 2018, 9:28오전 UTC](https://meta.discourse.org/t/post-import-user-stats-most-replied-to-is-empty/91225/2 "2018-07-03T09:28:31Z")

</div>

Did the import set the `reply_to_post_number` when creating the replies? If not, then the post is not a reply.

FYI: the “most replied to users” section is [computed dynamically](https://github.com/discourse/discourse/blob/98478d78d7924d353ecaa24a74802d6630a2e610/app/models/user_summary.rb#L105-L133).

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7월 3, 2018, 9:50오전 UTC](https://meta.discourse.org/t/post-import-user-stats-most-replied-to-is-empty/91225/3 "2018-07-03T09:50:30Z")

</div>

Brilliant! There were no post numbers in the available data. I need to set the topic post ID for all of them.

This is a huge help! Thanks
