logo Netzschleuder network catalog, repository, and centrifuge

History of advogato

The changes to the source code of this entry in the repository, newest first, each with the differences it made to the entry's files. They are also listed on GitLab.

[entries] Move more KONECT-derived entries to their original sources by Tiago de Paula Peixoto bf9dc0e
The entries now download the data from where KONECT obtained them (live,
or via the Wayback Machine), using the same release as KONECT where it is
still available, and gain the metadata KONECT dropped; descriptions and
citations are rewritten from the original sources:

- Linton Freeman's UCINET data page: bible_nouns, bison, cattle, hens,
  highschool, kangaroo, macaques, moreno_sheep, physician_trust (the three
  relations and the physicians' attributes), rhesus_monkey,
  train_terrorists, windsurfers (now the networks `interaction` and
  `closeness`), college_freshmen, crime, interactome_yeast (from the
  primary source), moreno_taro (undirected), residence_hall, zebras
- other pages, archived: contiguous_usa, advogato, google, github,
  digg_reply, twitter, bookcrossing, dbtropes_feature (without KONECT's
  spurious "ItemName" tropes)
- movielens_100k (in fact the MovieLens 10M tag assignments)
- dblp release 2017-05-02: dblp_author_paper, dblp_cite, dblp_coauthor
- DBpedia 3.9: dbpedia_country, dbpedia_genre, dbpedia_location,
  dbpedia_occupation, dbpedia_producer, dbpedia_recordlabel,
  dbpedia_starring, dbpedia_team, dbpedia_writer, dbpedia_all, dbpedia_link
- Discogs releases dump of October 2015: discogs_affiliation,
  discogs_genre and discogs_label (now with genre and style networks)
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index 64ea9db..a84f4df 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -18,19 +18,30 @@
 
 from .. import *
 
-title = "Advogato trust network (2009)"
-description = """A network of trust relationships among users on Advogato, an online community of open source software developers. Edge direction indicates that node i trusts node j, and edge weight denotes one of four increasing levels of declared trust from i to j: observer (0.4), apprentice (0.6), journeyer (0.8), and master (1.0).[^icon]
-[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
+title = "Advogato trust network (2014)"
+description = """A network of trust relationships among users of Advogato, an online community platform for free software developers launched in 1999. On Advogato, users certify each other at one of the levels Apprentice, Journeyer and Master, and these certifications are used by the site's trust metric to compute the users' own levels; a certification at the level Observer is equivalent to no trust. Advogato published the whole certification graph at www.advogato.org/person/graph.dot, and the Trustlet project (P. Massa and collaborators) downloaded a daily snapshot of it between 2007 and 2014 (together with older snapshots from 2000 onwards). This network is the last such snapshot, taken on 7 July 2014.
+
+Nodes are all users listed in the file, including those who neither give nor receive any certification (almost half of them), and a directed edge from $i$ to $j$ means that user $i$ certified user $j$. Users can certify themselves, so the network has self-loops, and the source file lists 15 certifications twice.
+
+The network has the following properties:
+
+- Nodes: `name`, the Advogato user name.
+- Edges: `level`, the certification level (Observer, Apprentice, Journeyer or Master); `weight`, the numerical trust value 0.4, 0.6, 0.8 or 1.0 of these levels, following the mapping suggested by Trustlet for the last three."""
 tags = ['Social', 'Online', 'Weighted']
-url = 'http://konect.cc/networks/advogato'
+url = 'https://web.archive.org/web/20150610220637/http://www.trustlet.org/wiki/Advogato_dataset'
 citation = [('P. Massa, M. Salvetti, and D. Tomasoni. "Bowling alone and trust decline in social network sites." Dependable, Autonomic and Secure Computing, 2009. DASC\'09. Eighth IEEE International Conference on. (2009).', 'https://doi.org/10.1109/dasc.2009.130')]
 icon_hash = '582cc0b18cf714f319c41b0c'
-upstream_prefix = 'http://konect.cc/files'
-files = [('download.tsv.advogato.tar.bz2', None, 'konect')]
+upstream_license = None
+# trustlet.org no longer exists, so the file is obtained from the Internet
+# Archive. "advogato-graph-latest.dot" is the snapshot of 2014-07-07.
+upstream_prefix = 'https://web.archive.org/web/20160202134747id_/http://www.trustlet.org/datasets/advogato'
+files = [('advogato-graph-latest.dot', None, None)]
+
+levels = {"Observer": 0.4, "Apprentice": 0.6, "Journeyer": 0.8, "Master": 1.0}
 
 def fetch_upstream(force=False):
-    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
-                                force)
+    return retry_download(fetch_upstream_files, __name__.split(".")[-1],
+                          upstream_prefix, files, force)
 
 @cache_network()
 @coerce_props()
@@ -38,12 +49,32 @@ def fetch_upstream(force=False):
 def parse(alts=None):
     global files
     name = __name__.split(".")[-1]
-    for fnames, alt, fmt in files:
+    for fname, alt, fmt in files:
         if alts is not None and alt not in alts:
             continue
-        if isinstance(fnames, str):
-            fnames = [fnames]
-        with ExitStack() as stack:
-            fs = [stack.enter_context(open_upstream_file(name, fn, "rb")) for fn in fnames]
-            g = parse_graph(fs, fmt, directed=True)
+        g = Graph(directed=True)
+        g.vp.name = g.new_vp("string")
+        g.ep.level = g.new_ep("string")
+        g.ep.weight = g.new_ep("double")
+        vs = {}
+        def get_v(u):
+            if u not in vs:
+                v = g.add_vertex()
+                g.vp.name[v] = u
+                vs[u] = v
+            return vs[u]
+        with open_upstream_file(name, fname, "r") as f:
+            for line in f:
+                # Each user is introduced by a comment "/* <user> */",
+                # followed by the certifications it gives:
+                # "<user> -> <user> [level="<level>"];"
+                m = re.match(r'\s*/\* (\S+) \*/', line)
+                if m:
+                    get_v(m.group(1))
+                    continue
+                m = re.match(r'\s*(\S+) -> (\S+) \[level="(\w+)"\];', line)
+                if m:
+                    e = g.add_edge(get_v(m.group(1)), get_v(m.group(2)))
+                    g.ep.level[e] = m.group(3)
+                    g.ep.weight[e] = levels[m.group(3)]
         yield alt, g
Update copyright information by Tiago de Paula Peixoto 73a4f0d
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index 5449c80..64ea9db 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2026 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 3d288ea
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index c54ae9e..5449c80 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 8d005ae
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index 776e65e..c54ae9e 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright info by Tiago de Paula Peixoto db2efcc
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index efc1a7c..776e65e 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Un-orphan KONECT datasets by Tiago de Paula Peixoto 894eba5
KONECT has been brought back from the dead for the time being.
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index a5e0a06..efc1a7c 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -26,7 +26,6 @@ url = 'http://konect.cc/networks/advogato'
 citation = [('P. Massa, M. Salvetti, and D. Tomasoni. "Bowling alone and trust decline in social network sites." Dependable, Autonomic and Secure Computing, 2009. DASC\'09. Eighth IEEE International Conference on. (2009).', 'https://doi.org/10.1109/dasc.2009.130')]
 icon_hash = '582cc0b18cf714f319c41b0c'
 upstream_prefix = 'http://konect.cc/files'
-orphan = True
 files = [('download.tsv.advogato.tar.bz2', None, 'konect')]
 
 def fetch_upstream(force=False):
Update citations to use DOIs by Tiago de Paula Peixoto e878874
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index f6cc863..a5e0a06 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -23,7 +23,7 @@ description = """A network of trust relationships among users on Advogato, an on
 [^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Social', 'Online', 'Weighted']
 url = 'http://konect.cc/networks/advogato'
-citation = [('P. Massa, M. Salvetti, and D. Tomasoni. "Bowling alone and trust decline in social network sites." Dependable, Autonomic and Secure Computing, 2009. DASC\'09. Eighth IEEE International Conference on. (2009).', 'http://ieeexplore.ieee.org/document/5380625/?arnumber=5380625&tag=1')]
+citation = [('P. Massa, M. Salvetti, and D. Tomasoni. "Bowling alone and trust decline in social network sites." Dependable, Autonomic and Secure Computing, 2009. DASC\'09. Eighth IEEE International Conference on. (2009).', 'https://doi.org/10.1109/dasc.2009.130')]
 icon_hash = '582cc0b18cf714f319c41b0c'
 upstream_prefix = 'http://konect.cc/files'
 orphan = True
Add support for 'orphan' datasets and tag konect entries by Tiago de Paula Peixoto e330b80
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index 008fc6a..f6cc863 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -26,6 +26,7 @@ url = 'http://konect.cc/networks/advogato'
 citation = [('P. Massa, M. Salvetti, and D. Tomasoni. "Bowling alone and trust decline in social network sites." Dependable, Autonomic and Secure Computing, 2009. DASC\'09. Eighth IEEE International Conference on. (2009).', 'http://ieeexplore.ieee.org/document/5380625/?arnumber=5380625&tag=1')]
 icon_hash = '582cc0b18cf714f319c41b0c'
 upstream_prefix = 'http://konect.cc/files'
+orphan = True
 files = [('download.tsv.advogato.tar.bz2', None, 'konect')]
 
 def fetch_upstream(force=False):
Change license from GPLv3 to AGPLv3 by Tiago de Paula Peixoto d754be5
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index 40aed01..008fc6a 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -3,18 +3,18 @@
 #
 # Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
 #
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
+# details.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU Affero General Public License along
+# with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 from .. import *
 
Add explicit attribution to descriptions obtained from ICON by Tiago de Paula Peixoto 1645314
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
index def035b..40aed01 100644
--- a/entries/advogato/__init__.py
+++ b/entries/advogato/__init__.py
@@ -19,7 +19,8 @@
 from .. import *
 
 title = "Advogato trust network (2009)"
-description = "A network of trust relationships among users on Advogato, an online community of open source software developers. Edge direction indicates that node i trusts node j, and edge weight denotes one of four increasing levels of declared trust from i to j: observer (0.4), apprentice (0.6), journeyer (0.8), and master (1.0)."
+description = """A network of trust relationships among users on Advogato, an online community of open source software developers. Edge direction indicates that node i trusts node j, and edge weight denotes one of four increasing levels of declared trust from i to j: observer (0.4), apprentice (0.6), journeyer (0.8), and master (1.0).[^icon]
+[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Social', 'Online', 'Weighted']
 url = 'http://konect.cc/networks/advogato'
 citation = [('P. Massa, M. Salvetti, and D. Tomasoni. "Bowling alone and trust decline in social network sites." Dependable, Autonomic and Secure Computing, 2009. DASC\'09. Eighth IEEE International Conference on. (2009).', 'http://ieeexplore.ieee.org/document/5380625/?arnumber=5380625&tag=1')]
Initial commit by Tiago de Paula Peixoto cc85872
diff --git a/entries/advogato/__init__.py b/entries/advogato/__init__.py
new file mode 100644
index 0000000..def035b
--- /dev/null
+++ b/entries/advogato/__init__.py
@@ -0,0 +1,48 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+from .. import *
+
+title = "Advogato trust network (2009)"
+description = "A network of trust relationships among users on Advogato, an online community of open source software developers. Edge direction indicates that node i trusts node j, and edge weight denotes one of four increasing levels of declared trust from i to j: observer (0.4), apprentice (0.6), journeyer (0.8), and master (1.0)."
+tags = ['Social', 'Online', 'Weighted']
+url = 'http://konect.cc/networks/advogato'
+citation = [('P. Massa, M. Salvetti, and D. Tomasoni. "Bowling alone and trust decline in social network sites." Dependable, Autonomic and Secure Computing, 2009. DASC\'09. Eighth IEEE International Conference on. (2009).', 'http://ieeexplore.ieee.org/document/5380625/?arnumber=5380625&tag=1')]
+icon_hash = '582cc0b18cf714f319c41b0c'
+upstream_prefix = 'http://konect.cc/files'
+files = [('download.tsv.advogato.tar.bz2', None, 'konect')]
+
+def fetch_upstream(force=False):
+    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
+                                force)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+    global files
+    name = __name__.split(".")[-1]
+    for fnames, alt, fmt in files:
+        if alts is not None and alt not in alts:
+            continue
+        if isinstance(fnames, str):
+            fnames = [fnames]
+        with ExitStack() as stack:
+            fs = [stack.enter_context(open_upstream_file(name, fn, "rb")) for fn in fnames]
+            g = parse_graph(fs, fmt, directed=True)
+        yield alt, g