Thursday, April 16, 2020

The Pathlan Software Y2k Bug Essays - Calendars, Software Bugs

The Pathlan Software Y2k Bug 1) The PathLAN software Y2K Bug The PathLAN software in use at Sheffield was derived from a standalone PC package. The specific area which failed was a date calculation module which extracted date information from strings to calculate maternal age at EDD. Date information was stored as a 10 character string: dd/mm/yyyy specific items of information were extracted using a Move command from either the Birthdate field or the Cldate [Collection date] field. Assuming a birth date of 12/04/1960 and a collection date of 11/03/2000, the original lines read and would have extracted the following: Move Birthdate[4,2] to #N0 extracts 04 Move Birthdate[9,2] to #N1 extracts 60 Move CLdate[4,2] to #N2 extracts 03 Move CLdate[9,2] to #N3 extracts 00 And the corrected lines read and extract: Move Birthdate[4,2] to #N0 extracts 04 Move Birthdate[7,4] to #N1 extracts 1960 Move CLdate[4,2] to #N2 extracts 03 Move CLdate[7,4] to #N3 extracts 2000 The values are converted into a number of weeks by multiplying the year figure by 52 and the month figure by 4. The Birth weeks are subtracted from the collection weeks, 40 gestation period is added to arrive at a number of weeks to expected date of delivery which is the divided by 52 to arrive at an age in years [as a decimal number]. As a date calculating routine, this is a very poor routine. Firstly, it ignores day of birth so a woman born on the first day of the month gets the same age at EDD as one born on the last day of the month. I suggest that even though the calculator has been used for years and that the Y2K error has been solved, a date calculation routine that actually calculates dates properly rather than making grossly inaccurate calculations should be used instead. An example that could be used is shown later in this report. A further problem with the date calculation routine is the lack of any error trapping routine. In my software (Downcalc), ages outside of the range 12 54 years are automatically rejected. This should have been implemented in the PathLAN routines. A further alternative that would have helped would have been to report the age used in the calculation, rather than just the date of birth. This is of course easy to say with the benefit of the retrospectoscope but should be a recommendation of any final report, to prevent others from having a similar problem. The most critical question is whether the software fix described above has truly repaired the PathLAN program and has returned the calculations to normal. I have yet to fully analyse the before & after data from PathLAN but I have carried out 2 exercises that make me 99% certain that all problems have been solved. Firstly, I calculated a prediction of the age-related underestimate of risk that would be expected if the only problem was the millennium bug described above (Figure 1) Figure 1: Predicted risk underestimate Then I took a selection of 30 patients with incorrect 43 years, and derived the observed inaccuracy, and saw how this fits with prediction. Figure 2: Observed variation in Risk It is clear that the observed variations lie almost exactly on the predicted line. The slight variation is probably due to the date routine error. This means that for the randomly selected 30 patients, of the 7000 (approx) cases the agreement between predicted and observed is exact. It would be almost entirely unthinkable that this could have occurred by chance. Therefore, we can be effectively certain that all of the error was due to the Y2K bug described above. Once all of the data is available [data search currently being prepared], I will carry out a final test but this is really for completeness rather than to satisfy any lingering doubt. A Final test based on 6240 results and using the same graphical technique as figure 11 is shown below. This demonstrates that the vast majority of results lie on the predicted line. Only a small proportion lie off the line. These represent results which had recalculation of values due to changes in gestation date or other factors. They are clearly few in number so it is valid to conclude that

Monday, April 13, 2020

Sample Essay About Valentines Day

Sample Essay About Valentine's DayA sample essay about Valentine's Day will ensure that your essay gets an excellent grade. If you are aware of the important parts of a great essay then this may be the perfect time to start your own article writing project for the school.It is true that there are many useful things you can learn from the professionals. There are not only students but also teachers who also use and praise their students' essays. The following points will help you create a sample essay about Valentine's Day.Think about why you are writing the essay. It could be an anniversary, your own special day or birthday. Sometimes you may not know what makes you write a particular topic but this doesn't matter because your aim here is to make a good essay on Valentine's Day.While you are thinking about what it is about Valentine's Day that makes you write a whole essay about it, you need to think about your learning style. Most students will come up with the same question but mos t of them will avoid talking about what they want to do with their future or their life. When you become a good writer, you will have the passion to share it with others.Don't forget to include all the information about Valentine's Day in your essay. You can include facts, figures, funny lines, jokes and any other relevant information that will make your essay interesting. You may also add what your opinion is about it. You need to also think about the people who you are going to present your essay to.You can include some information from your school years when you will present your essay for high school students. Of course you should keep it relevant.After you have created a sample essay about Valentine's Day, you may give it to a teacher. He will take some ideas from it and you can start doing the revision on your next essay.