JohnSmithDev / ISFDB-Tools

Tools to query a local copy of the ISFDB database
5 stars 1 forks source link

Handle group/house pseudonyms better #13

Open JohnSmithDev opened 5 years ago

JohnSmithDev commented 5 years ago

Currently code such as get_definitive_authors() returns all the "related" authors. We might want to handle group/house pseudonyms differently though, as any given work may be the product of only one or a small proportion of all the people who use(d) that pseudonym.

Examples include:

I think these usually have a textual note in ISFDB and/or category in Wikipedia, but I don't know that there's (yet?) a proper flag in the database.

Possible implementation:

  1. Count the number of real/canonical authors returned when doing get_definitive_authors() [or other similar function]
  2. If over some threshold (4 maybe?), raise an Exception, or some other way of flagging this up