Has anyone used Ruby for validated FDA applications?

S

Simon Crase

I'm considering using Ruby for a project for a medical application; the
production code won't be written using Ruby, but I believe that Ruby
will be a big help for writing test scripts, and also for checking the
source code to ensure that it conforms to our guidelines, and that
various tables, in our specification, have been transcribed correctly.

At some point I can imagine an FDA auditor saying:"OK, your Ruby script
says that the code conforms to your spec. What steps have you taken to
validate your script?"
Me "We tested with Ruby Unit"

FDA Auditor "What steps did you take to validate Ruby Unit and the Ruby
interpreter?"

Any ideas on what to say next?


Cheers,


Simon
 
W

Wayne Pierce

Take two different programs, with two different languages if you must,
and run both against your program. This way you can compare the
results.

Most auditors just want some assurance that you have thoroughly tested
and documented the environment. By having two different ways to get
the same result you have a check and balance. Whether you want
someone else to write the second check is entirely up to you and your
level of paranoia.

Wayne
 
W

William Morgan

Excerpts from Simon Crase's mail of 3 May 2005 (EDT):
At some point I can imagine an FDA auditor saying:"OK, your Ruby script
says that the code conforms to your spec. What steps have you taken to
validate your script?"
Me "We tested with Ruby Unit"

FDA Auditor "What steps did you take to validate Ruby Unit and the Ruby
interpreter?"

Any ideas on what to say next?

What would you normally say about your trust in a third-party tool? For
commercial software I suppose you might say, "The company that created
this tool assures us it's correct." For open source software like
Test::Unit, I would say something like:

a) Test::Unit has an active user and developer community, which we
monitor for bug reports, patches, other user's experiences, etc.
(i.e. "we read ruby-talk");
b) To the best of our knowledge there are no outstanding bugs that affect
its ability to evaluate our code; and
c) [Depending how thorough you need to be] We've created an ad-hoc test
suite of buggy code that we believe is representative of the types of
errors potentially present in our code, and Test::Unit successfully
identifies them.
 
I

Ira Burton

We have made similar arguments for our php based work and it has never
resulted in any sort of negative action. We typically have a fairly
bloated test suite that we run our code against. Auditors really like
to see that sort of thing. They are not looking to have you prove
that there are absolutely no bugs, but rather you have made a good
faith effort to find them all. (This obviously depends to what degree
a failure of your software can lead to a dangerous result for a
patient.)

Excerpts from Simon Crase's mail of 3 May 2005 (EDT):
At some point I can imagine an FDA auditor saying:"OK, your Ruby script
says that the code conforms to your spec. What steps have you taken to
validate your script?"
Me "We tested with Ruby Unit"

FDA Auditor "What steps did you take to validate Ruby Unit and the Ruby
interpreter?"

Any ideas on what to say next?

What would you normally say about your trust in a third-party tool? For
commercial software I suppose you might say, "The company that created
this tool assures us it's correct." For open source software like
Test::Unit, I would say something like:

a) Test::Unit has an active user and developer community, which we
monitor for bug reports, patches, other user's experiences, etc.
(i.e. "we read ruby-talk");
b) To the best of our knowledge there are no outstanding bugs that affect
its ability to evaluate our code; and
c) [Depending how thorough you need to be] We've created an ad-hoc test
suite of buggy code that we believe is representative of the types of
errors potentially present in our code, and Test::Unit successfully
identifies them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,002
Messages
2,570,261
Members
46,859
Latest member
VallieMcKe

Latest Threads

Top