[Babase] repstats Q for Karl
Karl O. Pinc
kop at meme.com
Fri Jun 19 15:42:36 EDT 2009
On 06/19/2009 02:18:01 PM, kfenn wrote:
> Karl O. Pinc wrote:
>>
>> On 01/15/2009 12:27:42 PM, kfenn wrote:
>>> Hi Karl,
>>>
>>> We have a lady in Repstats (LADHA) who remains in a pregnant state
>>> for up to 394 days (dins) in 2007 & 2008.
>>
>> The basic problem is that the triggers are not updating repstats
>> or cycstats. Theses must be manually updated by running the
>> build program whenever any reproductive info is changed.
>>
>> My guess is that the rebuild_all_repstats program was run
>> after all the sexual cycle information was entered
>> but before the birth was entered.
>
> I checked my logs on the demography update.
> So the question is...did I really forget to update her BIOGRAPH
> record with a pid at the end of 07a and not notice right through 2009?
> So, for the record, I'm going to assume I forgot the pid, realized
> the error, and plugged it in at some point in 2008 before the 08b
> update occurred. I think REPSTATS got updated correctly after the
> 08b update. I'm pretty sure the pid was in there when Laurence
> brought the error to my attention. Although I can't exactly follow
> the paper trail to say this happened...all thing being equal it's the
> most logical and simplest explanation since 07a was such a chaotic
> update. I don't think we have to worry about the REPSTATS
> programming being wrong.
Thanks for digging.
If we really care we could use babase_test to put LAD back to
like we think it was and rebuild the repstats. I've a very
high degree of certainty that the sexual cycles of other
baboons would not affect her repstats. I'm with you on
just assuming we know what happened and not spending any
more time on it, although there is _some_ likelihood
of a bug so we should keep an eye out in the future.
(Surely there's still bugs in the system somewhere.)
Karl <kop at meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
More information about the Babase
mailing list