Geni consistency & plausibility checker

Started by Private User on Saturday, April 29, 2017
Problem with this page?

Participants:

Profiles Mentioned:

Related Projects:

Showing 211-240 of 503 posts

Another date problem: Triggering the "birth after death" warning on this profile:
Christoffer Stofferson Aasland, død som nyfødt

I suspect the reason Javascript Date() is f*ed up is that it initializes to the current date, and insists on keeping consistency every time you update it. The only safe way to use it is (to my mind) to use the "new Date(y, m, d)" constructor, and *never* change it.

You're seeing the warning on 4.2? I'm not getting the warning.

I've worked out a better way to do in in the next version, but 4.2 should have addressed it, even if inefficiently. I'm also looking at setting the default value of a year or month to the middle, instead of the beginning. So if I just had a year, 1972, it would default to Jun 15, 1972 instead of Jan 1, 1972.

re: defaults for year-only dates

When comparing two dates, one which provides D/M/Y or M/Y and the other which only has Y, I think they should be compared only on the Y ( that is, applying the same 'default' D/M to both Y1 & Y2 in converting for comparison ) ... I haven't looked: is that what is currently done?

Date() doesn't really work like that. It doesn't do ranges. A date is a point in time, which gets expressed as an integer. I am doing some things such as if it's just a year, see if it's the same year or exclude the comparison. Similarly I can check if a shorter date contains the elements of a larger date by comparing their string equivalent. Ultimately, I'd like to build out a system of ranges that can compare to other ranges. Then I could also deal with before, after, and between. But that's a big todo.

Currently for example when comparing if siblings are too close, I ignore the comparison if one of the siblings has just a year, because if if they have the same year, I'd still have to compare what part of the year.

Now that I think about it more, I'm going to leave it as the beginning of the month, day as I can think of a couple things it could break.

It also complicates things that we're adding various values to existing dates, like pregnancy terms or how many years between two dates. These get added as seconds to the base value.

Here's an example where the birth is flagged as being before the parent's marriage, when it is a case where the marriage is precise (D/M/Y) and birth is just the Year.
https://www.geni.com/family-tree/index/6000000003095477477

Jeff,

I do not know if it will work for dates a bit longer ago, but found: http://www.datejs.com/ (released under the MIT License and available for download at GoogleCode)

I also found some general info on https://www.w3schools.com/js/js_date_methods.asp, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/G... and http://www.i-programmer.info/programming/javascript/2994-speed-dati...

Also found http://scholarslab.org/research-and-development/parsing-bc-dates-wi... and http://yoranbrondsema.com/iso8601-negative-years-ruby-javascript/

Some calculation with dates on http://freepages.history.rootsweb.ancestry.com/~historyofmarlboroug.... Not sure if the method they use will be helpful.

Dan Cornett, fixed that birth / marriage issue in 4.2.1

Job Waterreus, thanks - I'll take a look as I start to work on dealing with ranges.

Since version 4.0, SmartCopy has been compatible with other browsers that support web-extension. However, the approval process has been long. I'm happy to say that if you prefer FireFox, SmartCopy is now available on that browser. https://addons.mozilla.org/en-US/firefox/addon/genismartcopy/

I submitted to Opera as well, but getting it listed in the Opera plugins market may or may not happen - their approval process is tough to work through.

Jeff,

Thanks. For Geni I mostly use Firefox, so I'm happy not to have to change to another browser every time I want to use SmartCopy.

Private User,

Thanks for the update. I'm going to test it now.

Kevin

Private User,

Can't get SmartCopy to work. So, is it down?

Kevin

Honestly, I haven't tested it on that FF since 3.x it took so long to get approved I'm a major version ahead. I'll test it again and update as needed.

Consistency check is clearly working. That's telling me that it has to be failing on the SmartCopy side of the extension.

Weird, I just tested the copy side of things in FF and it worked good for me. Do you have a link to the page - maybe it's something in a specific parser.

Private User,

I'm using Find A Grave as my source.

Kevin

Hmm, that's what I used as well.... Where is it getting stuck? What do you see or not see when you click it?

It just spins and spins. I cancel it and repeat it and get exactly the same, over and over again.

Kevin

Doesn't work in Firefox. Just gives me an error.

Private User Thanks so much for the Firefox add on. Now I am back to one browser again.

Kevin Lawrence Hanit, that helps a bit. I see the error in the log and no token existed, meaning it wasn't authorized yet. I'll need to figure out why it didn't give you one, since it should detect that when you try to login. Can you try to go here: https://historylink.herokuapp.com/login

Thanks. I'll try it later on today.

Private User

A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.

Script: moz-extension://c80532df-cde9-…53-8041-d3b4b5c0c551/jquery.js:2

Eldon Lester Clark, do you have a link to where you experienced it and are you able to repeat it?

Private User
It was on any My Heritage match with Family Search and of course when it poped up, SC went away. I will check later and see what can find. I am using the Firefox version, so it shouldn't be a Flash problem like Chrome has.
Another strange problem, using the mouse, I cannot copy anything selected. I have to use Ctrl C to copy and Ctrl V to paste

Is it possible to have consistency checker on merge side-by-side comparison? Especially useful to get "fix case" before merge. Both profile IDs may need to be gleaned from the url.

Can't reproduce the script error. I'll look at the copy issue. FireFox was not an easy port, unlike Opera. Bunch of weird things which still seem to be an issue - like it jumps to the top when you click a checkbox. I tried for a week to fix that...

Showing 211-240 of 503 posts

Create a free account or login to participate in this discussion