We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Authors with only one name
PR #233 tries adding a name variant with only a last name and there are some technical issues there, but there is also the more basic issue of:

- Should the XML distinguish between an author with only a first name vs. an author with only a last name? I'm unsure whether this is a real distinction. 
* Only first name: Chandrahas.
* Only last name: Abhimanue, Budiono, Govind, Mausam, Odbal, Shweta, Srinivas, Sukhada, Toni.
* Neither: Yes, there are several in ROCLING; presumably these should be deleted.

- What about corporate authors like:
* ARC A3
* Annotation Group
* Architecture Committee
* European Association for Machine Translation (maybe shouldn't be an author anyway)
* Forschungsgruppe LIMAS
* PLUM Group
* SRA International
* TIPSTER SE


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `bin/anthology/people.py`
Content:
```
1 # -*- coding: utf-8 -*-
2 #
3 # Copyright 2019 Marcel Bollmann <marcel@bollmann.me>
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 
17 from collections import defaultdict, Counter
18 from slugify import slugify
19 import logging as log
20 import yaml
21 from .formatter import bibtex_encode
22 from .venues import VenueIndex
23 
24 try:
25     from yaml import CLoader as Loader
26 except ImportError:
27     from yaml import Loader
28 
29 
30 class PersonName:
31     first, last = "", ""
32 
33     def __init__(self, first, last):
34         self.first = first.strip()
35         self.last = last.strip()
36 
37     def from_element(person_element):
38         first, last = "", ""
39         for element in person_element:
40             tag = element.tag
41             # These are guaranteed to occur at most once by the schema
42             if tag == "first":
43                 first = element.text or ""
44             elif tag == "last":
45                 last = element.text or ""
46         return PersonName(first, last)
47 
48     def from_repr(repr_):
49         parts = repr_.split(" || ")
50         if len(parts) > 1:
51             first, last = parts[0], parts[1]
52         else:
53             first, last = "", parts[0]
54         return PersonName(first, last)
55 
56     def from_dict(dict_):
57         first = dict_.get("first", "")
58         last = dict_["last"]
59         return PersonName(first, last)
60 
61     @property
62     def full(self):
63         return "{} {}".format(self.first, self.last).strip()
64 
65     @property
66     def id_(self):
67         return repr(self)
68 
69     def as_bibtex(self):
70         return bibtex_encode("{}, {}".format(self.last, self.first))
71 
72     def as_dict(self):
73         return {"first": self.first, "last": self.last, "full": self.full}
74 
75     def __eq__(self, other):
76         return (self.first == other.first) and (self.last == other.last)
77 
78     def __str__(self):
79         return self.full
80 
81     def __repr__(self):
82         if self.first:
83             return "{} || {}".format(self.first, self.last)
84         else:
85             return self.last
86 
87     def __hash__(self):
88         return hash(repr(self))
89 
90 
91 class PersonIndex:
92     """Keeps an index of persons and their associated papers."""
93 
94     def __init__(self, srcdir=None):
95         self.canonical = defaultdict(list)  # maps canonical names to variants
96         self.variants = {}  # maps variant names to canonical names
97         self._all_slugs = set([""])
98         self.slugs = {}  # maps names to unique slugs
99         self.coauthors = defaultdict(Counter)  # maps names to co-author names
100         self.papers = defaultdict(lambda: defaultdict(list))
101         if srcdir is not None:
102             self.load_variant_list(srcdir)
103 
104     def load_variant_list(self, directory):
105         with open("{}/yaml/name_variants.yaml".format(directory), "r") as f:
106             name_list = yaml.load(f, Loader=Loader)
107             for entry in name_list:
108                 try:
109                     canonical = entry["canonical"]
110                     variants = entry["variants"]
111                 except (KeyError, TypeError):
112                     log.error("Couldn't parse name variant entry: {}".format(entry))
113                     continue
114                 canonical = PersonName.from_dict(canonical)
115                 _ = self.papers[canonical] # insert empty entry for canonical if not present
116                 for variant in variants:
117                     variant = PersonName.from_dict(variant)
118                     if variant in self.variants:
119                         log.error(
120                             "Tried to add '{}' as variant of '{}', but is already a variant of '{}'".format(
121                                 repr(variant),
122                                 repr(canonical),
123                                 repr(self.variants[variant]),
124                             )
125                         )
126                         continue
127                     self.variants[variant] = canonical
128                     self.canonical[canonical].append(variant)
129 
130     def register(self, paper):
131         """Register all names associated with the given paper."""
132         from .papers import Paper
133 
134         assert isinstance(paper, Paper), "Expected Paper, got {} ({})".format(
135             type(paper), repr(paper)
136         )
137         for role in ("author", "editor"):
138             for name in paper.get(role, []):
139                 # Register paper
140                 self.papers[name][role].append(paper.full_id)
141                 # Make sure canonical names are prioritized for slugs
142                 if self.is_canonical(name):
143                     self.get_slug(name)
144                 # Register co-author(s)
145                 for author in paper.get(role):
146                     if author != name:
147                         self.coauthors[name][author] += 1
148 
149     def names(self):
150         return self.papers.keys()
151 
152     def __len__(self):
153         return len(self.papers)
154 
155     def is_canonical(self, name):
156         return name not in self.variants
157 
158     def has_variants(self, name):
159         return name in self.canonical
160 
161     def get_canonical_variant(self, name):
162         """Maps a name to its canonical variant."""
163         return self.variants.get(name, name)
164 
165     def get_all_variants(self, name):
166         """Return a list of all variants for a given name.
167 
168         Includes the supplied name itself.
169         """
170         if not self.is_canonical(name):
171             name = self.get_canonical_variant(name)
172         return self.canonical[name] + [name]
173 
174     def get_registered_variants(self, name):
175         """Return a list of variants for a given name that are actually
176         associated with papers.
177 
178         Will only return true variants, not including the canonical name.
179         """
180         if not self.is_canonical(name):
181             name = self.get_canonical_variant(name)
182         return [n for n in self.canonical[name] if n in self.papers]
183 
184     def get_slug(self, name):
185         if name in self.slugs:
186             return self.slugs[name]
187         slug, i = slugify(repr(name)), 0
188         while slug in self._all_slugs:
189             i += 1
190             slug = "{}{}".format(slugify(repr(name)), i)
191         self._all_slugs.add(slug)
192         self.slugs[name] = slug
193         return slug
194 
195     def get_papers(self, name, role=None, include_variants=False):
196         if include_variants:
197             return [
198                 p
199                 for n in self.get_all_variants(name)
200                 for p in self.get_papers(n, role=role)
201             ]
202         if role is None:
203             return [p for p_list in self.papers[name].values() for p in p_list]
204         return self.papers[name][role]
205 
206     def get_coauthors(self, name, include_variants=False):
207         if include_variants:
208             return [
209                 p for n in self.get_all_variants(name) for p in self.get_coauthors(n)
210             ]
211         return self.coauthors[name].items()
212 
213     def get_venues(self, vidx: VenueIndex, name, include_variants=False):
214         """Get a list of venues a person has published in, with counts."""
215         venues = Counter()
216         if include_variants:
217             for n in self.get_all_variants(name):
218                 venues.update(self.get_venues(vidx, n))
219         else:
220             for paper in self.get_papers(name):
221                 for venue in vidx.get_associated_venues(paper):
222                     venues[venue] += 1
223         return venues
224
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/bin/anthology/people.py b/bin/anthology/people.py
--- a/bin/anthology/people.py
+++ b/bin/anthology/people.py
@@ -115,6 +115,7 @@
                 _ = self.papers[canonical] # insert empty entry for canonical if not present
                 for variant in variants:
                     variant = PersonName.from_dict(variant)
+                    _ = self.papers[variant] # insert empty entry if not present
                     if variant in self.variants:
                         log.error(
                             "Tried to add '{}' as variant of '{}', but is already a variant of '{}'".format(

{"golden_diff": "diff --git a/bin/anthology/people.py b/bin/anthology/people.py\n--- a/bin/anthology/people.py\n+++ b/bin/anthology/people.py\n@@ -115,6 +115,7 @@\n                 _ = self.papers[canonical] # insert empty entry for canonical if not present\n                 for variant in variants:\n                     variant = PersonName.from_dict(variant)\n+                    _ = self.papers[variant] # insert empty entry if not present\n                     if variant in self.variants:\n                         log.error(\n                             \"Tried to add '{}' as variant of '{}', but is already a variant of '{}'\".format(\n", "issue": "Authors with only one name\nPR #233 tries adding a name variant with only a last name and there are some technical issues there, but there is also the more basic issue of:\r\n\r\n- Should the XML distinguish between an author with only a first name vs. an author with only a last name? I'm unsure whether this is a real distinction. \r\n* Only first name: Chandrahas.\r\n* Only last name: Abhimanue, Budiono, Govind, Mausam, Odbal, Shweta, Srinivas, Sukhada, Toni.\r\n* Neither: Yes, there are several in ROCLING; presumably these should be deleted.\r\n\r\n- What about corporate authors like:\r\n* ARC A3\r\n* Annotation Group\r\n* Architecture Committee\r\n* European Association for Machine Translation (maybe shouldn't be an author anyway)\r\n* Forschungsgruppe LIMAS\r\n* PLUM Group\r\n* SRA International\r\n* TIPSTER SE\r\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n#\n# Copyright 2019 Marcel Bollmann <marcel@bollmann.me>\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom collections import defaultdict, Counter\nfrom slugify import slugify\nimport logging as log\nimport yaml\nfrom .formatter import bibtex_encode\nfrom .venues import VenueIndex\n\ntry:\n    from yaml import CLoader as Loader\nexcept ImportError:\n    from yaml import Loader\n\n\nclass PersonName:\n    first, last = \"\", \"\"\n\n    def __init__(self, first, last):\n        self.first = first.strip()\n        self.last = last.strip()\n\n    def from_element(person_element):\n        first, last = \"\", \"\"\n        for element in person_element:\n            tag = element.tag\n            # These are guaranteed to occur at most once by the schema\n            if tag == \"first\":\n                first = element.text or \"\"\n            elif tag == \"last\":\n                last = element.text or \"\"\n        return PersonName(first, last)\n\n    def from_repr(repr_):\n        parts = repr_.split(\" || \")\n        if len(parts) > 1:\n            first, last = parts[0], parts[1]\n        else:\n            first, last = \"\", parts[0]\n        return PersonName(first, last)\n\n    def from_dict(dict_):\n        first = dict_.get(\"first\", \"\")\n        last = dict_[\"last\"]\n        return PersonName(first, last)\n\n    @property\n    def full(self):\n        return \"{} {}\".format(self.first, self.last).strip()\n\n    @property\n    def id_(self):\n        return repr(self)\n\n    def as_bibtex(self):\n        return bibtex_encode(\"{}, {}\".format(self.last, self.first))\n\n    def as_dict(self):\n        return {\"first\": self.first, \"last\": self.last, \"full\": self.full}\n\n    def __eq__(self, other):\n        return (self.first == other.first) and (self.last == other.last)\n\n    def __str__(self):\n        return self.full\n\n    def __repr__(self):\n        if self.first:\n            return \"{} || {}\".format(self.first, self.last)\n        else:\n            return self.last\n\n    def __hash__(self):\n        return hash(repr(self))\n\n\nclass PersonIndex:\n    \"\"\"Keeps an index of persons and their associated papers.\"\"\"\n\n    def __init__(self, srcdir=None):\n        self.canonical = defaultdict(list)  # maps canonical names to variants\n        self.variants = {}  # maps variant names to canonical names\n        self._all_slugs = set([\"\"])\n        self.slugs = {}  # maps names to unique slugs\n        self.coauthors = defaultdict(Counter)  # maps names to co-author names\n        self.papers = defaultdict(lambda: defaultdict(list))\n        if srcdir is not None:\n            self.load_variant_list(srcdir)\n\n    def load_variant_list(self, directory):\n        with open(\"{}/yaml/name_variants.yaml\".format(directory), \"r\") as f:\n            name_list = yaml.load(f, Loader=Loader)\n            for entry in name_list:\n                try:\n                    canonical = entry[\"canonical\"]\n                    variants = entry[\"variants\"]\n                except (KeyError, TypeError):\n                    log.error(\"Couldn't parse name variant entry: {}\".format(entry))\n                    continue\n                canonical = PersonName.from_dict(canonical)\n                _ = self.papers[canonical] # insert empty entry for canonical if not present\n                for variant in variants:\n                    variant = PersonName.from_dict(variant)\n                    if variant in self.variants:\n                        log.error(\n                            \"Tried to add '{}' as variant of '{}', but is already a variant of '{}'\".format(\n                                repr(variant),\n                                repr(canonical),\n                                repr(self.variants[variant]),\n                            )\n                        )\n                        continue\n                    self.variants[variant] = canonical\n                    self.canonical[canonical].append(variant)\n\n    def register(self, paper):\n        \"\"\"Register all names associated with the given paper.\"\"\"\n        from .papers import Paper\n\n        assert isinstance(paper, Paper), \"Expected Paper, got {} ({})\".format(\n            type(paper), repr(paper)\n        )\n        for role in (\"author\", \"editor\"):\n            for name in paper.get(role, []):\n                # Register paper\n                self.papers[name][role].append(paper.full_id)\n                # Make sure canonical names are prioritized for slugs\n                if self.is_canonical(name):\n                    self.get_slug(name)\n                # Register co-author(s)\n                for author in paper.get(role):\n                    if author != name:\n                        self.coauthors[name][author] += 1\n\n    def names(self):\n        return self.papers.keys()\n\n    def __len__(self):\n        return len(self.papers)\n\n    def is_canonical(self, name):\n        return name not in self.variants\n\n    def has_variants(self, name):\n        return name in self.canonical\n\n    def get_canonical_variant(self, name):\n        \"\"\"Maps a name to its canonical variant.\"\"\"\n        return self.variants.get(name, name)\n\n    def get_all_variants(self, name):\n        \"\"\"Return a list of all variants for a given name.\n\n        Includes the supplied name itself.\n        \"\"\"\n        if not self.is_canonical(name):\n            name = self.get_canonical_variant(name)\n        return self.canonical[name] + [name]\n\n    def get_registered_variants(self, name):\n        \"\"\"Return a list of variants for a given name that are actually\n        associated with papers.\n\n        Will only return true variants, not including the canonical name.\n        \"\"\"\n        if not self.is_canonical(name):\n            name = self.get_canonical_variant(name)\n        return [n for n in self.canonical[name] if n in self.papers]\n\n    def get_slug(self, name):\n        if name in self.slugs:\n            return self.slugs[name]\n        slug, i = slugify(repr(name)), 0\n        while slug in self._all_slugs:\n            i += 1\n            slug = \"{}{}\".format(slugify(repr(name)), i)\n        self._all_slugs.add(slug)\n        self.slugs[name] = slug\n        return slug\n\n    def get_papers(self, name, role=None, include_variants=False):\n        if include_variants:\n            return [\n                p\n                for n in self.get_all_variants(name)\n                for p in self.get_papers(n, role=role)\n            ]\n        if role is None:\n            return [p for p_list in self.papers[name].values() for p in p_list]\n        return self.papers[name][role]\n\n    def get_coauthors(self, name, include_variants=False):\n        if include_variants:\n            return [\n                p for n in self.get_all_variants(name) for p in self.get_coauthors(n)\n            ]\n        return self.coauthors[name].items()\n\n    def get_venues(self, vidx: VenueIndex, name, include_variants=False):\n        \"\"\"Get a list of venues a person has published in, with counts.\"\"\"\n        venues = Counter()\n        if include_variants:\n            for n in self.get_all_variants(name):\n                venues.update(self.get_venues(vidx, n))\n        else:\n            for paper in self.get_papers(name):\n                for venue in vidx.get_associated_venues(paper):\n                    venues[venue] += 1\n        return venues\n", "path": "bin/anthology/people.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n#\n# Copyright 2019 Marcel Bollmann <marcel@bollmann.me>\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom collections import defaultdict, Counter\nfrom slugify import slugify\nimport logging as log\nimport yaml\nfrom .formatter import bibtex_encode\nfrom .venues import VenueIndex\n\ntry:\n    from yaml import CLoader as Loader\nexcept ImportError:\n    from yaml import Loader\n\n\nclass PersonName:\n    first, last = \"\", \"\"\n\n    def __init__(self, first, last):\n        self.first = first.strip()\n        self.last = last.strip()\n\n    def from_element(person_element):\n        first, last = \"\", \"\"\n        for element in person_element:\n            tag = element.tag\n            # These are guaranteed to occur at most once by the schema\n            if tag == \"first\":\n                first = element.text or \"\"\n            elif tag == \"last\":\n                last = element.text or \"\"\n        return PersonName(first, last)\n\n    def from_repr(repr_):\n        parts = repr_.split(\" || \")\n        if len(parts) > 1:\n            first, last = parts[0], parts[1]\n        else:\n            first, last = \"\", parts[0]\n        return PersonName(first, last)\n\n    def from_dict(dict_):\n        first = dict_.get(\"first\", \"\")\n        last = dict_[\"last\"]\n        return PersonName(first, last)\n\n    @property\n    def full(self):\n        return \"{} {}\".format(self.first, self.last).strip()\n\n    @property\n    def id_(self):\n        return repr(self)\n\n    def as_bibtex(self):\n        return bibtex_encode(\"{}, {}\".format(self.last, self.first))\n\n    def as_dict(self):\n        return {\"first\": self.first, \"last\": self.last, \"full\": self.full}\n\n    def __eq__(self, other):\n        return (self.first == other.first) and (self.last == other.last)\n\n    def __str__(self):\n        return self.full\n\n    def __repr__(self):\n        if self.first:\n            return \"{} || {}\".format(self.first, self.last)\n        else:\n            return self.last\n\n    def __hash__(self):\n        return hash(repr(self))\n\n\nclass PersonIndex:\n    \"\"\"Keeps an index of persons and their associated papers.\"\"\"\n\n    def __init__(self, srcdir=None):\n        self.canonical = defaultdict(list)  # maps canonical names to variants\n        self.variants = {}  # maps variant names to canonical names\n        self._all_slugs = set([\"\"])\n        self.slugs = {}  # maps names to unique slugs\n        self.coauthors = defaultdict(Counter)  # maps names to co-author names\n        self.papers = defaultdict(lambda: defaultdict(list))\n        if srcdir is not None:\n            self.load_variant_list(srcdir)\n\n    def load_variant_list(self, directory):\n        with open(\"{}/yaml/name_variants.yaml\".format(directory), \"r\") as f:\n            name_list = yaml.load(f, Loader=Loader)\n            for entry in name_list:\n                try:\n                    canonical = entry[\"canonical\"]\n                    variants = entry[\"variants\"]\n                except (KeyError, TypeError):\n                    log.error(\"Couldn't parse name variant entry: {}\".format(entry))\n                    continue\n                canonical = PersonName.from_dict(canonical)\n                _ = self.papers[canonical] # insert empty entry for canonical if not present\n                for variant in variants:\n                    variant = PersonName.from_dict(variant)\n                    _ = self.papers[variant] # insert empty entry if not present\n                    if variant in self.variants:\n                        log.error(\n                            \"Tried to add '{}' as variant of '{}', but is already a variant of '{}'\".format(\n                                repr(variant),\n                                repr(canonical),\n                                repr(self.variants[variant]),\n                            )\n                        )\n                        continue\n                    self.variants[variant] = canonical\n                    self.canonical[canonical].append(variant)\n\n    def register(self, paper):\n        \"\"\"Register all names associated with the given paper.\"\"\"\n        from .papers import Paper\n\n        assert isinstance(paper, Paper), \"Expected Paper, got {} ({})\".format(\n            type(paper), repr(paper)\n        )\n        for role in (\"author\", \"editor\"):\n            for name in paper.get(role, []):\n                # Register paper\n                self.papers[name][role].append(paper.full_id)\n                # Make sure canonical names are prioritized for slugs\n                if self.is_canonical(name):\n                    self.get_slug(name)\n                # Register co-author(s)\n                for author in paper.get(role):\n                    if author != name:\n                        self.coauthors[name][author] += 1\n\n    def names(self):\n        return self.papers.keys()\n\n    def __len__(self):\n        return len(self.papers)\n\n    def is_canonical(self, name):\n        return name not in self.variants\n\n    def has_variants(self, name):\n        return name in self.canonical\n\n    def get_canonical_variant(self, name):\n        \"\"\"Maps a name to its canonical variant.\"\"\"\n        return self.variants.get(name, name)\n\n    def get_all_variants(self, name):\n        \"\"\"Return a list of all variants for a given name.\n\n        Includes the supplied name itself.\n        \"\"\"\n        if not self.is_canonical(name):\n            name = self.get_canonical_variant(name)\n        return self.canonical[name] + [name]\n\n    def get_registered_variants(self, name):\n        \"\"\"Return a list of variants for a given name that are actually\n        associated with papers.\n\n        Will only return true variants, not including the canonical name.\n        \"\"\"\n        if not self.is_canonical(name):\n            name = self.get_canonical_variant(name)\n        return [n for n in self.canonical[name] if n in self.papers]\n\n    def get_slug(self, name):\n        if name in self.slugs:\n            return self.slugs[name]\n        slug, i = slugify(repr(name)), 0\n        while slug in self._all_slugs:\n            i += 1\n            slug = \"{}{}\".format(slugify(repr(name)), i)\n        self._all_slugs.add(slug)\n        self.slugs[name] = slug\n        return slug\n\n    def get_papers(self, name, role=None, include_variants=False):\n        if include_variants:\n            return [\n                p\n                for n in self.get_all_variants(name)\n                for p in self.get_papers(n, role=role)\n            ]\n        if role is None:\n            return [p for p_list in self.papers[name].values() for p in p_list]\n        return self.papers[name][role]\n\n    def get_coauthors(self, name, include_variants=False):\n        if include_variants:\n            return [\n                p for n in self.get_all_variants(name) for p in self.get_coauthors(n)\n            ]\n        return self.coauthors[name].items()\n\n    def get_venues(self, vidx: VenueIndex, name, include_variants=False):\n        \"\"\"Get a list of venues a person has published in, with counts.\"\"\"\n        venues = Counter()\n        if include_variants:\n            for n in self.get_all_variants(name):\n                venues.update(self.get_venues(vidx, n))\n        else:\n            for paper in self.get_papers(name):\n                for venue in vidx.get_associated_venues(paper):\n                    venues[venue] += 1\n        return venues\n", "path": "bin/anthology/people.py"}]}