On Mon, 2005-11-28 at 16:01 -0500, Gerald Britton wrote:
> I notice that there is a filter called "Probably Alive". I would like
> to know how that is determined. If the person has a birthdate, but no
> death date, does gramps assume that the person is probably alive based
> on calculated age? If so, what is the upper age limit? Is there a
> preference/parameter for that, or is it hard-coded. Also, what
> happens if the person has no birth/death date (but maybe his
> parents/grandparents do).
See the probably_alive function in src/Utils.py to get all
the details. Briefly, here's the logic and some comments from
"""Returns true if the person may be alive.
This works by a process of elimination. If we can't find a good
reason to believe that someone is dead then we assume they must
# If the recorded death year is before current year then
# things are simple.
# Look for Cause Of Death, Burial or Cremation events.
# These are fairly good indications that someone's not alive.
# If they were born within 100 years before current year then
# assume they are alive (we already know they are not dead).
# Neither birth nor death events are available. Try looking
# for descendants that were born more than a lifespan ago.
# If there are descendants that are too old for the person to have
# been alive in the current year then they must be dead.
# If there are ancestors that would be too old in the current year
# then assume our person must be dead too.
# If we can't find any reason to believe that they are dead we
# must assume they are alive.
In the code, too_old means age_in_years > 110
For descendants, the minimal generation gap is taken to be 13 years.
For ancestors, average generation gap is taken to be 20 years.
None of the above values is user-adjustable. You have to tweak
the code to modify them.
Alexander Roitman http://www.gramps-project.org