Author Topic: "Unranked" users  (Read 30166 times)

0 Members and 3 Guests are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
"Unranked" users
« on: June 25, 2024, 01:53:31 pm »
I thought we had a thread for this but I'm not seeing it.

I and several others maintain multiple .list files on TM to show our travels in specific circumstances (I have one each for my current car and my most recent car, and one for each of the last 5 years showing only my travels for that year) in addition to our lifetime travels.  We also have things like 6lane.list, which does not represent anyone's travels at all.

I've been working on a mechanism to indicate which of the hundreds of .list files represent something other than the travels of a specific individual. Now it's time to think about where to omit or include those users on various parts of the TM site.  Here are some initial thoughts.

For stat.php's list of all users ranked by miles traveled and on similar but restricted lists elsewhere, like region.php and system.php, I would like to have all of the ranks not include the unranked users, but I am less sure about whether the unranked users should be just not given a rank in the tables or omitted completely.  I am thinking keep them in the list but don't number them.

The user page would remain mostly unchanged, other than the ranks not showing up for unranked users and being calculated without the unranked users for everyone else.

Traveler counts for mapview.php (when using "Color by Traveler Count") and showroute.php should omit unranked users.

Am I missing anything?

Offline osu-lsu

  • Full Member
  • ***
  • Posts: 169
  • Last Login:Yesterday at 11:59:48 pm
Re: "Unranked" users
« Reply #1 on: June 25, 2024, 04:04:04 pm »
As an aside to this topic; can we delete the 6lanetest account?
Never mind. The account in question has been deleted.

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2067
  • Last Login:Yesterday at 06:25:15 pm
Re: "Unranked" users
« Reply #2 on: June 25, 2024, 05:08:05 pm »
I've made/making a few for AARW that I'd have gotten rid of after I've used them for that purpose, but if they can be pulled out of the stats, then they may as well remain.

tem_corridors, tem_built, tent_comp, tent_core, tent_corr, tent_norbalcor, tent_scamedcor, tent_medcor, tent_balaegor, tent_rhidancor, tent_atlcor, tent_baladrcor, tent_balmedcor, tent_normedcor

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: "Unranked" users
« Reply #3 on: June 25, 2024, 06:49:05 pm »
I've made/making a few for AARW that I'd have gotten rid of after I've used them for that purpose, but if they can be pulled out of the stats, then they may as well remain.

tem_corridors, tem_built, tent_comp, tent_core, tent_corr, tent_norbalcor, tent_scamedcor, tent_medcor, tent_balaegor, tent_rhidancor, tent_atlcor, tent_baladrcor, tent_balmedcor, tent_normedcor

Would these make more sense in a third category, one for which they're not included in user lists at all?

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: "Unranked" users
« Reply #4 on: June 25, 2024, 09:39:01 pm »
I have some progress on this.

The stat.php page on the staging server behaves as I proposed above.  https://tmstage.teresco.org/stat.php  The unranked users listed so far in the new csv file (more on that below) should all now have no rank listed, and the ranks at the top of the page and in the big tables should not have ranks shown for those entries, though they are still in the table in the appropriate position.

The new csv file is in the UserData repository: https://github.com/TravelMapping/UserData/blob/master/list_files/listfileinfo.csv . Please feel free to add entries for other files you have uploaded that should be excluded from the rankings, or let me know in this thread or by email and I can add them.  You'll also see that there's an as-yet-unused description field that can be specified for any list file.  I think it's helpful for the unranked users to indicate the purpose of the file, and the third field should be a 0 for those.  If it's a regular traveler that should be included in the rankings, the third field should be a 1.  I'm sure there are a few places where it will make sense to display the description for any list file for which one is specified.

Offline Duke87

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1018
  • Last Login:Yesterday at 06:49:51 pm
Re: "Unranked" users
« Reply #5 on: June 26, 2024, 12:55:53 am »
For stat.php's list of all users ranked by miles traveled and on similar but restricted lists elsewhere, like region.php and system.php, I would like to have all of the ranks not include the unranked users, but I am less sure about whether the unranked users should be just not given a rank in the tables or omitted completely.  I am thinking keep them in the list but don't number them.

I'd suggest putting them at the bottom of the table and not moving them from there when people adjust the table sorting as well.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: "Unranked" users
« Reply #6 on: June 26, 2024, 06:48:25 am »
Maybe users like my car or year should be listed in the rankings, but true non-traveler lists like 6lane should be fully omitted.  Nothing stopping us from having more than 2 categories.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: "Unranked" users
« Reply #7 on: June 26, 2024, 10:05:53 am »
Now it's time to think about where to omit or include those users on various parts of the TM site.
Stats CSVs -- include or omit?
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: "Unranked" users
« Reply #8 on: June 26, 2024, 11:10:29 am »
Not sure about the stats CSVs.  Also not sure anyone looks at them.

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2067
  • Last Login:Yesterday at 06:25:15 pm
Re: "Unranked" users
« Reply #9 on: June 26, 2024, 01:04:10 pm »
Would these make more sense in a third category, one for which they're not included in user lists at all?
Maybe, as long as they are findable.

These are, somewhat, the sort of thing I talked with you in-person just shy of a year ago, the kind of non-mappable systems that if we had user-compare stats ('what travels have I done that match this other user') would perhaps be used. Here it's improvement corridors (cf AHDS / High Priority Corridors), but tourist stuff like National Scenic Byways would also be a way to do this.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4849
  • Last Login:Yesterday at 11:21:09 am
Re: "Unranked" users
« Reply #10 on: June 26, 2024, 01:46:49 pm »
For stat.php's list of all users ranked by miles traveled and on similar but restricted lists elsewhere, like region.php and system.php, I would like to have all of the ranks not include the unranked users, but I am less sure about whether the unranked users should be just not given a rank in the tables or omitted completely.  I am thinking keep them in the list but don't number them.

stat.php is called "Highway Travelers' Stats". I'd restrict it to "real" users.
I like how you implemented the table now. I'd like to see that on region.php and system.php only.

Would these make more sense in a third category, one for which they're not included in user lists at all?
Maybe, as long as they are findable.

I think they should remain being selectable via the user dropdown lists - except on stat.php.

We need to add a description for listfileinfo.csv to the manual.

Offline mapcat

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1767
  • Last Login:Yesterday at 01:48:41 pm
Re: "Unranked" users
« Reply #11 on: June 26, 2024, 04:47:24 pm »
Not sure about the stats CSVs.  Also not sure anyone looks at them.

I occasionally look at them, but the presence or lack of unranked users there doesn't matter to me.
Clinched:

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: "Unranked" users
« Reply #12 on: June 29, 2024, 10:05:26 am »
I've converted region.php to use the unranked designation.  It's also on tmstage.  Rather than "N/A" or something similar in the places where ranks would appear for normal travelers, this page simply omits the rank entirely. 

I will proceed soon with a similar conversion for system.php (where user ranks are currently broken on tmstage).

On stat.php, since there's a rank entry that should have something in it, I have replaced the rank with "NR" for unranked users.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4849
  • Last Login:Yesterday at 11:21:09 am
Re: "Unranked" users
« Reply #13 on: June 29, 2024, 10:39:59 am »
I've converted region.php to use the unranked designation.  It's also on tmstage.  Rather than "N/A" or something similar in the places where ranks would appear for normal travelers, this page simply omits the rank entirely.

I do still see one out of four rank entries: https://tmstage.teresco.org/user/region.php?u=jt2020q5&rg=DC




Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: "Unranked" users
« Reply #14 on: June 29, 2024, 11:00:57 am »
Fixed that, thanks, but noticed I have since broken something else that causes unranked travelers to report 0 routes traveled.