2

I can list all my answers for a certain tag. The list includes the votes, and negative votes already subtracted to my knowledge (in this specific case it's the tag networking). But the score doesn't add up. Is there some delay in the calculation or some negative votes I'm not aware of?

Afterthoughts: To get a quick overview I created the list by clicking a tag in the little section that shows the top-scored tags for my user and sorted it by score... turned out it also includs questions and shows the negativ scored tags on the last page (which I didn't notice since I skipped everything after the first 0 score answer). It works fine with a manual search user:201818 [networking] is:answer Thanks to NotTheDr01ds for helping me to find my misstake.

enter image description here

enter image description here

5
  • What do you mean by the score doesn't add up?
    – DavidPostill Mod
    Jun 11 at 8:31
  • @Mokubai thx, the post link is already included in the question I linked to, unless I overlooked s.th. it doesn't provide an answer
    – Albin
    Jun 11 at 11:08
  • @DavidPostill, I mean the tag score
    – Albin
    Jun 11 at 11:08
  • @Ramhound I always do (see last edit)
    – Albin
    Jun 11 at 18:14

1 Answer 1

2

But the score doesn't add up.

It's unclear from your question what you think your score should be or why you think it is incorrect. It appears to me to be absolutely correct.

From the post that you linked:

A tag score is basically the combined total of all the upvotes (+1) and downvotes (-1) you've accumulated on answers under that specific tag (votes on questions do not count). Acceptance of an answer doesn't have any weight in the score.

Note that the score is not based on reputation gained, but absolute votes.

As of this post, you currently have:

  • answered 99 questions in the tag
  • 44 of those have a net positive score (more upvotes than downvotes)
  • 2 have a net negative score (more downvotes than upvotes)
  • 55 have a score of 0 (either no upvotes/downvotes or an equal number of each)
  • The sum of the scores in that tag is 77, which is what your profile currently reports. Of course, that's one more than two days ago when you posted this.

The questions with a non-zero score:

Question Score
The ip address returned by whatismyipaddress.com belong to who? 1
What is the use of three separate routing table entries for loopback? 3
Why does windows try and use a network with no internet when connected to two networks at once? 1
If using a switch that supports VLAN can some devices connect directly to the router? 1
Local DNS - can I put it on the Internet? 2
TP-LINK Archer C7 limits connectivity on devices picked (seemingly) randomly 1
Network switch stops working until power cycled, but replacing the switch and the router changes nothing 1
Connect two Modem/Routers 1
Cannot ping a Windows 11 machine 1
Difference between external port and internal port in port forwarding? 5
Connecting sites together to use DHCP 1
Ping IP address routed to wrong destination 1
Is my PC visible or accessible to other PCs if I have connected to the internet through PPPoE? 1
Two set of properties for a single wifi connection 1
Unable to access my local web server via WAN-IP (provided by ISP) 1
Hostname mapping to LAN IPs in Router? 1
Home network configuration issue 1
Sync alerts over network 1
How to make shared folders of different computers in a LAN available across two different networks, when only one PC has access to two networks? 1
Is it possible for each layer to give incomplete data to the lower layer? 2
VoIP and computer on separate VLANs through one cable 1
How can I connect DNS server to two networks in CISCO? 1
1 Modem with 3 separate networks 1
Home network including Mac mini as DNS and DHCP server 1
How to auto switch WIFI Router based on internet connectivity? -2
How to route internet traffic seperately to local traffic 1
Wifi connected and shows internet access but cant use internet 2
how to make a pc to be connected with another pc directly, while still let it connect to the internet via network cable 2
Wake On Lan doesn't work on Repeater 1
Networking subnetting 2
Hosting different services on one server -1
Can't manage to reach home server through VPN tunnel from my Institution LAN 1
How does a network device update its MAC table? 2
Working remotely over VPN with Win10 and Windows Server (AD, SMB)? 1
Does my home have ethernet or telephone wiring running through it? 1
Connect local IIS server to internet 2
Windows 10 connected to two different networks, both having same subnet mask 1
Issue in network configuration 1
Should you be able to access your modem's web interface when the internet is down? 1
Using a dedicated landline for internet? 2
Redundant routes between switches 1
Asus Router share internet connection with USB connected device 2
Why "Connection-specific DNS Suffix" is only (default) available for wired connection, not for wireless 1
In a symlink pointing to '127.0.1.1:+xxxxx', what is the plus character for? 22
Enter Network Credentials 1
Access point with different SSID doesn't work 1
Total 77

Side-note:

For those who want to run similar queries, here's how I did it using Nushell and the Stack Exchange API.

First, obtain the API method and arguments you need from the corresponding doc page. In this case, I needed a "user's questions", which is this page. The API site includes the ability for you to build the method with your arguments. I needed:

  • Albin's (Super User ID: 201818) answers
  • Change the site, of course, to Super User
  • Edit the "Filter" to add in tags, title, and link

And the resulting URI/method it gives me is:

/2.3/users/201818/answers?order=desc&sort=activity&site=superuser&filter=!6VvPDzQHaquV_

With that, in Nushell:

def getStackAPIPageLoop [ baseUri:any page?:any --help (-h) ] {
    let page = if ( $page == null ) {1} else {$page}
    let pageUri = ((echo $baseUri "&page=" $page) | str collect)
    let re = (http $pageUri | from json )
    print $re
    
    if ($re.has_more) {
        $re.items | append (getStackAPIPageLoop $baseUri ($page + 1))
    } else {
        $re.items
    }
}

let baseUri = "https://api.stackexchange.com/2.3/users/201818/answers?order=desc&sort=activity&site=superuser&filter=!6VvPDzQHaquV_"

# If you have a API key, add it, as you'll get a higher quota

let answers = getStackAPIPageLoop $baseUri

At this point, the $answers variable contains a list of all of the user's questions and the requested metadata that we can parse as desired. E.g.:

$answers |
    where { |it| "networking" in  $it.tags } |
    where { |it| $it.score != 0 } |
    length

# 46

$answers |
    where { |it| "networking" in  $it.tags } |
    get score |
    math sum

# 77

$answers |
    where { |it| "networking" in  $it.tags } |
    where { |it| $it.score != 0 } |
    each { |answer| { "Question": $"[($answer.title)]\(($answer.link)\)" , "Score": $answer.score } } | 
    to md |
    clip.exe

# Replace clip.exe with your OS's clipboard app.  This will create the markdown table above (minus the total, which I added manually) that you can simply paste directly into Stack's markdown editor.

Today's histogram based on the previous comment:

╭───┬───────┬───────┬──────────┬────────────┬───────────────────────────────────────────────────────╮
│ # │ value │ count │ quantile │ percentage │                       frequency                       │
├───┼───────┼───────┼──────────┼────────────┼───────────────────────────────────────────────────────┤
│ 0 │    -2 │     1 │     0.01 │ 1.00%      │ *                                                     │
│ 1 │    -1 │     1 │     0.01 │ 1.00%      │ *                                                     │
│ 2 │     0 │    53 │     0.53 │ 53.00%     │ ***************************************************** │
│ 3 │     1 │    33 │     0.33 │ 33.00%     │ *********************************                     │
│ 4 │     2 │     9 │     0.09 │ 9.00%      │ *********                                             │
│ 5 │     3 │     1 │     0.01 │ 1.00%      │ *                                                     │
│ 6 │     5 │     1 │     0.01 │ 1.00%      │ *                                                     │
│ 7 │    22 │     1 │     0.01 │ 1.00%      │ *                                                     │
╰───┴───────┴───────┴──────────┴────────────┴───────────────────────────────────────────────────────╯
8
  • 1
    I missed the negative scores (I sorted by votes), those were the votes I was missing thanks!
    – Albin
    Jun 13 at 19:33
  • @Albin Ah, I think I understand. You stopped when you got to the "0's", missing the ones under that ... That makes sense! Jun 13 at 19:36
  • @Albin I essentially just used a Stack Exchange API query through Nushell as mentioned in this post. Jun 13 at 19:39
  • exactly that... thanks, for the API link, interesting, I will try that out...
    – Albin
    Jun 13 at 19:40
  • I just recalculated, I have 35*1 + 9*2 + 1*3 + 1*5 + 1*22 = 83, 83-3=80, my score is currently 77 (the last two +1 upvotes on the tag were today and on the 11th), assuming today's upvote is not calculated yet, the score should be 79, shouldn't it?
    – Albin
    Jun 15 at 18:44
  • @Albin I'm showing a calculated score of 78 at the moment. I show only 33*1. Assuming today's upvote is not included, it sounds like 77 (displayed) is still correct. Jun 15 at 20:52
  • you are correct, the default search, when you click on the tag in the answer section, still included questions (I parsed the HTML output), I did a manual search user:201818 [networking] is:answer and parsed again... voila, I got 33*1... shouldn't have skipped the assert! thanks again. Quick&dirty solutions s.t. just bite you in the a*** ;)
    – Albin
    Jun 16 at 4:19
  • @Albin Ah yes, I ran into that too when trying to validate whether my API script was returning the right number of answers. Jun 16 at 13:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .