Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Breathalyzer Source Code Revealed

Posted by kdawson on Tue Sep 04, 2007 04:49 PM
from the and-it-ain't-pretty dept.
Nonillion writes "New Jersey attorney Evan M. Levow was finally able to get an order from the Supreme Court of New Jersey forcing the manufacturer of the popular Draeger AlcoTest 7110 to reveal the source code. Levow turned the code over to experts, Base One Technologies, to analyze. Initially, Base One found that, contrary to Draeger's protestations that the code was proprietary, the code consisted mostly of general algorithms: 'That is, the code is not really unique or proprietary.' In other words, the 'trade secrets' claim which manufacturers were hiding behind was completely without merit." Following up an earlier discussion here, the state of Minnesota has (without explanation) missed a deadline to turn over the code for a different breathalyzer.
+ -
story

Related Stories

[+] Your Rights Online: DUI Defendant Wins Source Code to Breathalyzer 638 comments
MyrddinBach writes "CNet's Police Blotter column looks into a Minnesota drunk driving defendant case with a twist. The defendant says he needs the source code to the Intoxilyzer 5000EN to fight the charges in court. Apparently the company has agreed to turn over the code to the defense. 'A judge granted the defendant's request, but Michael Campion, Minnesota's commissioner in charge of public safety, opposed it. Minnesota quickly asked an appeals court to intervene, which it declined to do. Then the state appealed a second time. What became central to the dispute was whether the source code was owned by the state or CMI, the maker of the Intoxilyzer.'"
[+] Judge Rules Defense Can Get DUI Machine Source Code 270 comments
pfleming alerts us to developments in Arizona on a subject we have frequently discussed (e.g. FL, MN, NJ): efforts in DUI cases to obtain source code to devices that analyze blood alcohol levels. On Friday a Pima County Superior Court judge ruled that the software that powers the Intoxilyzer 8000 must be revealed to defense lawyers. "Defense attorneys representing more than 20 people arrested on felony DUI charges agreed to consolidate their cases into one and to argue it before [Judge] Bernini ... The source codes are crucial because the Intoxilyzer 8000 sometimes gives 'weird' or inexplicable results ... Six other states have been battling CMI [maker of the Intoxilyzer] over the source code — Minnesota, Florida, Louisiana, Massachusetts, Tennessee and New Jersey... CMI has currently racked up over $1.2 million in fines in a civil contempt order for not disclosing the source code in Florida."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Mateo_LeFou (859634) on Tuesday September 04 2007, @04:55PM (#20470613) Homepage
    I didn't know SCO made breathalizers.
  • Shocked (Score:5, Funny)

    by UbuntuDupe (970646) * on Tuesday September 04 2007, @04:55PM (#20470623) Journal
    You mean, the creator of an intellectual work thinks it's more creative than it really is? That very rarely happens.
  • by Anonymous Coward on Tuesday September 04 2007, @04:56PM (#20470627)
    if ( drunk ) {
    goto JAIL;
    }
  • by EmbeddedJanitor (597831) on Tuesday September 04 2007, @05:00PM (#20470689)
    Almost any firmware is just a collection of general algorithms. Calibration, self test, filters, look-up/calculations... I'm not subrised that there's nothing amazing in there. That they don't have any funky algorithms does not mean that the firmware is not a trade secret. It still takes significant engineering/test/validation effort to get to a working device.
    • Re: (Score:3, Insightful)

      So? If you RTFA, you see that they didn't spend a lot of engineering/test/validation time either.
    • by WebCowboy (196209) on Tuesday September 04 2007, @06:09PM (#20471669)
      That they don't have any funky algorithms does not mean that the firmware is not a trade secret.

      Then what DOES make something a trade secret? The mere fact the software is compiled and/or programmed onto a chip? An EULA? An"anti-circumvention device" as defined by the DMCA? Seriously, where should we draw the line with "trade secrets" when it comes to protective legislation? The only "trade secret" revealed here is the fact that the manufacturer in question embedded alpha-quality software in a product released to production. That sort of a "trade secret" is generally considered willful negligence or fraud.

      It still takes significant engineering/test/validation effort to get to a working device.

      It is apparent that little to no such QA was done on this particular device, which to me sounds like a grave mistake considering the device is trusted to keep drunk drivers off the road. Keep in mind that this device is theoretically able to report just as many false negatives as false positives, do not only would it be possible for a sober driver to be falsely charged with a DUI (as this lawyer claims) it is also possible that countless drunk drivers falsely blew UNDER the limit and were allowed to continue on their way and put others in harms way. That could be considered criminal negligence on the part of those who engineered this device.

      Just because it takes effort (in time and money) "to get a working device" even when there is nothing novel in its functionality does not mean that those putting forth the effort should be able to hide from scrutiny behind a "trade secret". The systems I work on are sometimes involve safety interlocks. My employer subjects their software division's development practices to audits from government agencies. Our clients often stipulate that they must have access to source code (though since we are a closed-source shop we never grant redistribution rights). Even if there are novel implementations or "trade secrets" there are legal instruments to accommodate for them and still remain accountable.

      These "breathalyzer" devices used in the field are far from trade secrets--I remember plans for one in Radio Electronics years ago that was said to be quite reliable as a preliminary measurement device (didn't report a specific value, but had a "traffic-light-interface" of 3 LEDs). The "trade secret" excuse is flimsy and shameful. It is worse than the whole Diebold voting machine debacle because it can directly affect a person's safety and well-being.
  • by justcauseisjustthat (1150803) on Tuesday September 04 2007, @05:02PM (#20470727)
    I've been thinking about DUI laws in the US and how the laws are just the second coming of prohibition of liquor. Why else would they take two legal activities like drinking alcohol and driving, and make it criminal. Yes, I understand people get hurt by drivers under influence. But lets be real and compare it to teens getting into accidents, senior citizens getting into accidents, sleep deprived individuals getting into accidents, etc. Think about it... You don't see people being tested for reaction speeds when taking driver tests!! You don't see people being tested for intelligence when taking driver tests!! You don't see people being tested for decision making ability when taking driver tests!! If people had to pass these types of tests we wouldn't have so many traffics jams. Think about it, why have some states in the US that use whisky plates (plates for cars owned by individuals convicted of a DUI) run out and had to expand the letters used.

    PS People who drink and get into accidents should be prosecuted as if they had reckless intent.
    • Crappy moderation again. I really wish those closer to God than the rest of us here in Slashdot would eliminate this personal points of view moderation tactics. The post is a good one and raises many questions which are valid questions. The post also has generated discussion which is exactly what slashdot is all about.

      So moderators - stop attacking the messenger ok?

      There is a TV program which I do not watch called "Canada's worst drivers".

      This program apparently is oriented to rehabilitating some of the
      • by Surt (22457) on Tuesday September 04 2007, @05:45PM (#20471317) Homepage Journal
        The unfortunate reality that the laws are trying to deal with, though, is that it is essentially impossible for law enforcement to spot all the drunks on the road, and deliver you home as you suggest (imagine the logistics of that: you could put all the police in this country on that duty full time!, and still not have enough cops).

        Worse, it won't even be near to possible for them to indentify all of the sufficiently impaired so as to protect the rest of us from their idiocy.

        What drunk driving laws do is create an incentive for everyone to voluntarily police themselves, and to act more responsibly. If you know you run a risk of a long incarceration just for drunk driving, you may not take my life into your hands by getting behind the wheel and driving the same roads as I do. If you (or most of these drunk idiots) know that the only penalty for getting caught is being taken home, then you'll be much more encouraged to just take your chances with my life, rather than deal with the inconvenience and cost of a taxi ride.

        Drunk driving laws disencentivize behaviors on an individual basis that normally have unfortunate incentives on an individual basis, but have an extremely high average cost for the rest of society. This is also why no-sleepy-driving and no-cellphone-driving laws are a similarly good idea.

        • Re: (Score:3, Insightful)

          Whenever there is a fine involved, it becomes no longer about social good, but about revenue raising.

          In California, for example, police statistics have shown that crash rates did not go down when stronger DUI laws were enacted. Inherently, driving a vehicle is the dangerous activity.. drink driving just gives people an acceptable scapegoat.

        • Re: (Score:3, Insightful)

          Actually, I can tell you here in my (great drunk driving state of WI) that drinking while blasted does increase the probabilty of causing an accident.

          And, I agree with you it is a criminal act that should be punished after a day in court.

          HOWEVER,

          We are not talking about the guys who are falling down smashed can't get the key in the door drunk.

          We are talking about folks at .10 (the former legal limit) or .09 (now illegal) or .08 (borderline illegal) getting shafted LOOOONNGG before they are at the level of i
      • 'alcohol related accidents' include events when a non-drunk crosses the double-yellow and crashes head-on into a drunk driver. I'm skeptical.
          • Re:Exactly! (Score:5, Interesting)

            by DutchSter (150891) on Tuesday September 04 2007, @09:51PM (#20473815)
            There's plenty of studies showing that talking on the phone impairs drivers more than a 0.08 BAC. If we accept the premise that drivers should be criminally liable for driving while impaired that means one of two things: a) the laws for driving while phoning are too lenient or b) the legal limit of blood alcohol content is too low.

            I pull imapired drivers over all the time. Yeah I'm frequently called a dickhead for charging a cellphone user with failure to control or assured clear distance, but so be it. "Ma'am, I stopped you because you appear to be impaired. You've put your entire car over the line at least seven times since I've been following you in the last mile and a half. Is everything OK?" "Oh yeah, just fine, I haven't been drinking or anything, I'm just talking on my phone." (More than half the time the driver is still on the phone when you approach the vehicle).

            Do I think it sucks that a person pulled over for DUI faces significantly higher penalties even if they don't cause an accident versus someone simply not paying attention? Yeah, but I don't write the laws. Now, there is a difference between distracted driving and driving drunk. A distracted driver who is on the phone, putting on makeup, etc, can turn it off and become 100% focused on driving again. A drunk can't do this. They're impaired until the alcohol wears off. Thus the exposure time for a drunk driver is 100% of the time that they're behind the wheel. If traffic gets hairy or the weather turns bad, a distracted driver can hang up and drive. Am I implying that all distracted drivers do this when the situation requires more attention or am I saying that when traffic is light you're free to goof off? Absolutely not, but at least the ability to focus again is there while drunks don't have the option. My policy is if you're driving like you're impaired you probably are and I will make contact to determine what the issue is.

            Personally I like non-DUI impaired driving cases. It's much easier to write someone a citation or a warning and send them on their way than to have to go through the rigmarole associated with a full-blown DUI arrest. In my mind both groups are equally dangerous on the road, but the former is much easier to deal with and get back to patrol. A drunk might take two hours from violation to calling 10-8 (back in service).
  • by crimguy (563504) on Tuesday September 04 2007, @05:05PM (#20470773)
    The reason why no source code has been released in MN is that the manufacturer of the breathalyzer in that case, CMI, refuses to hand it over to anyone. They are asserting that it is a trade secret, and are resting on the fact that there is little a court in MN can do to force them, a Kentucky corporation, to hand it over.

    I represent three clients in Phoenix, AZ, who have been trying to get the code from CMI for the same reasons, and have been met with nothing but frustration. Fortunately, a couple judges here have agreed with the defense that examination of the code is necessary to mount a defense, under due process grounds. We (myself and a number of other attorneys) have had dismissals in a total of about 11 cases in the City of Phoenix, all of which are being appealed. There are a few cases in superior court that will be appealed shortly as well. It's been a busy time in the world of DUI litigation.

    Unfortunately, many judges here do not see the relevance. Further, they have enacted legislation to prevent the preclusion of breathalyzer results, despite the inability to examine the "schematics or source code" of the machines.

    Believe me when I tell you - these machines are unreliable, and subject to many errors, most glaringly the result of RFI screwing up the results. I've read the findings of the independent lab on the NJ case, and it does raise many concerns. My biggest problem is that law enforcement can essentially hide behind a foreign corporation, and a jury never hears about many of the problems at hand.
        • by nate nice (672391) on Tuesday September 04 2007, @05:49PM (#20471379) Journal
          That's not true.

          You don't have to take a breathalyser or do any road side test. And in fact you shouldn't. Even if you have been never tell the cop you've been drinking when pulled over.

          What you do have to do is submit to a blood test at a hospital if the suspect you of drunk driving. If you don't then you'll lose your license.

          Here's some advice if pulled over:

          When asked if you've been drinking, say no. They always ask this question a night. If you say yes you've had one or whatever, you are a suspected DUI. They usually won't smell things on your breath or whatever. Just say no and they'll probably just ask to run your license and give you a speeding ticket. Unless it's obvious you're drunk

          When asked to get out of the car, comply. You have to. If they ask you to do ANY roadside test, decline. You will be pressured here. Simply say your lawyer informed you to never do a roadside test under any circumstance. The cop will evaluate you at this time. One of 2 things will happen now.

          If you're borderline and seem to be "normal" or not very drunk, they'll probably let you go with a ticket. They realize that it will be a waste of their time to arrest you take you down to the hospital, file reports, etc only to find out you are at .07. Remember, the time it takes from pulling you over to actually taking a test is often over an hour. You will likely have sobered up some by this point. And potentially moved from a .1 to a .7 fairly easily. Or even from a more serious .12 to a less expensive and serious .9 or something borderline.

          If you're obviously drunk, they'll take you down confidently knowing you will fail the test and be charged. But that's the price you pay for driving when sloshed.

          The keys: Never admit to drinking anything. This can only hurt you. Let your lawyer do the talking. Refuse any roadside test. They can only hurt you. Cooperate and take a blood test. Potentially an hour or more after you've been pulled over. You will invariably be more sober than when you were pulled over. This works to your advantage.

           
          • by fbjon (692006) on Tuesday September 04 2007, @06:13PM (#20471727) Homepage Journal
            Here's a better idea: don't drink and drive.
            • Re: (Score:3, Insightful)

              Interesting. I can't believe Illinois would force people to take roadside tests like that.

              Now, when you say breathalyser, are you talking about the roadside one or the station one? There's quite a difference.
            • by TheGratefulNet (143330) on Tuesday September 04 2007, @06:54PM (#20472197)
              Hi nate nice. Got any more tips for drunk drivers?

              you have NEVER EVER had a beer at work (maybe some milestone or something) and then drove home, perhaps even a few hours later?

              that never happens to you?

              or you have a glass of wine out on a date?

              the laws are too harsh and people DO need to know all the info that the other side knows. not only is it desirable to know all your rights, its -necessary- for the system to really work at all.

  • Trade Secrets (Score:5, Insightful)

    by CopaceticOpus (965603) on Tuesday September 04 2007, @05:15PM (#20470949)
    My guess is that 99% of proprietary code contains a big trade secret: The secret of just how crappy the source code really is.

    If they were expecting their code to be opened to the public, they would have taken the effort to fix up "spaghetticode.inc" which contains the single comment "//This works though i'm not sure why... clean up l8r!!!!".
  • by poetmatt (793785) on Tuesday September 04 2007, @05:41PM (#20471265)
    Please read here at http://www.sandiegodrunkdrivingattorney.net/2007/0 8/successful-dui-breath-test-machine.html [sandiegodr...torney.net] where they have all the information on the flaws. I will post the summary line of each result from Base one (link to their homepage) [base-one.com] as follows:

    1. The Alcotest Software Would Not Pass U.S. Industry Standards for Software Development and Testing
    2. Readings are Not Averaged Correctly: When the software takes a series of readings, it first averages the first two readings.
    3. Results Limited to Small, Discrete Values: The A/D converters measuring the IR readings and the fuel cell readings can produce values between 0 and 4095.
    4. Catastrophic Error Detection Is Disabled: An interrupt that detects that the microprocessor is trying to execute an illegal instruction is disabled
    5. Implemented Design Lacks Positive Feedback: The software controls electrical lines, which switch devices on and off, such as an air pump, infrared source, etc. The design does not provide a monitoring sensory line (loop back) for the software to detect that the device state actually changed. This means that the software assumes the change in state is always correct, but it cannot verify the action.
    6. Diagnostics Adjust/Substitute Data Readings: The diagnostic routines for the Analog to Digital (A/D) Converters will substitute arbitrary, favorable readings for the measured device if the measurement is out of range, either too high or too low.
    7. Flow Measurements Adjusted/Substitute d: The software takes an airflow measurement at power-up, and presumes this value is the "zero line" or baseline measurement for subsequent calculations.
    8. Range Limits Are Substituted for Incorrect Average Measurements: In a manner similar to the diagnostics, voltage values are read and averaged into a value.
    9. Code Does Not Detect Data Variations
    10. Error Detection Logic: The software design detects measurement errors, but ignores these errors unless they occur a consecutive total number of times
    11. Timing Problems: The design of the code is to run in timed units of 8.192 milliseconds, by means of an interrupt signal to a handler, which then signals the main program control that it can continue to the next segment.
    12. Defects In Three Out Of Five Lines Of Code: A universal tool in the open-source community, called Lint, was used to analyze the source code written in C. This program uncovers a range of problems from minor to serious problems that can halt or cripple the program operation.

    Sorry if this is redundant, I didn't see it listed anywhere that I could tell up front. If you note that list is pretty serious. They picked a "top 5" type thing for the other link, but this one is pretty accurate. Note these guys were called in as expert witnesses and their information on their website shows they have extensive experience working with government. If these guys find flaws that is definitely pretty serious.

        • by Myrv (305480) on Tuesday September 04 2007, @06:26PM (#20471823)

          Please read more carefully before you make incorrect phrases.
          Perhaps you should take your own advice to heart because as the previous poster noted, you are wrong.

          The last reading has the least weight, as the first one determines the average
          Nope, given the description you have so nicely put in bold the first reading is the least signficant.

          Take 3 readings, say 1 2 3 for the sake of argument. The text says the first two are averaged, so:

          (1+2)/2 = 1.5

          Now this average is averaged with the third reading

          (1.5+3)/2 = 2.25

          or in full

          ((1 + 2) /2 + 3) /2 = 1/4 + 2/4 + 3/2

          Note the 3rd point is weighted twice that of the first 2 (i.e, its divided by 2, the first two points are divided by 4).

          The real average should be:

          (1+2+3) / 3 = 2

          but the last point is being weighted more in the incorrect version so the average was given as 2.25

          If the first point was weighted more you would expect the average to be less than 2.

          It's basically using a mean instead of an average.
          mean and average are the same thing.

          What this means is each reading could increase or decrease the score, as opposed to being consistant. If you take 3-4 tests each one could show you as "more drunk" when you might have started at .06 and ended at .30 (as an extreme example) or started at .15 and ended at .03.
          No, it's not. Each subsequent reading is basically being averaged into previous value with double the weight. There are cases where you would want to do this, i.e. damp out the history, but the code comments suggest this wasn't the case (of course the code may have been changed on purpose and somebody forgot to change the comments)
  • by mathfeel (937008) on Tuesday September 04 2007, @05:50PM (#20471395)
    FTA:

    "7. Flow Measurements Adjusted/Substituted: The software takes an airflow measurement at power-up, and presumes this value is the "zero line" or baseline measurement for subsequent calculations. No quality check or reasonableness test is done on this measurement..."


    So, if I blow into the device as soon as it boots, I will always be tested negative??
  • This is important (Score:5, Informative)

    by sjames (1099) on Tuesday September 04 2007, @06:48PM (#20472121) Homepage

    Without measures like this, police brethalyser selection is distorted by powerful confirmation biases.

    Given an honest belief that suspects that are given the brethalyser test are intoxicated, the natural selection bias is towards machines that read positive more often. Even without a single thought of "we need a machine that convicts regardless of guilt", that's what they will tend to get.

    Allowing the defense to face the actual witness (the brethalyser) so to speak provides the needed negative feedback to drive selection back towards accurate impartial instruments even if only to make DUI charges stick in court.

    More to the point, it can drive machine selection towards those that meet the beyond a reasonable doubt standard. If trials are going to favor the readout on a brethalyser, the machine should (for example) always round towards a lower reading when measuring or computing. For example, if there is any noise in a reading, the lowers is beyond reasonable doubt, the average is vaguely justifiable (though it is probably closer to a preponderance than it is beyond reasonable doubt) and the highest is just plain trying to get convictions regardless of merit. Otherwise it has the potential to accuse someone of DUI (to the extent that a machine can accuse) even if in fact componant tolerances may mean the difference between just over the limit vs. just under. After all, the machine is not suceptable to a jury judging if it seems unsure or knew it was close to the edge based on testimony.

    A surprising number of measurement devices meant for scientific and medical purposes (as well as law enforcement) do NOT correctly handle significant digits, error bars, or rounding. Many programmers do not understand the importance of different rounding rules, and even think that add .5 then truncate is always correct.

  • by Mudd Guy (716972) on Tuesday September 04 2007, @06:50PM (#20472157)
    I think it's great the source code is getting out, and that we'll find out which devices are crappy and which are better.

    But in the end, I don't think any of this matters. Drunk drivers are not prosecuted based on roadside breathalyzer tests. They are prosecuted based on tests done back at the police station using either a blood test or a much better lab-quality breathalyzer. These instruments are regularly tested in a way that makes it easy to convince a jury of the validity of the results. I've seen some of the corresponding tests on a roadside breathalyzer, and they convinced me not to trust the device.

    So, it's good advice to decline the roadside tests.
  • Actually... (Score:4, Informative)

    by Sj0 (472011) on Tuesday September 04 2007, @08:27PM (#20473055) Homepage Journal
    Actually, the breathalyzer is a painfully simple device, none of it is a trade secret. It's basically a pair of heated-wire anerometers in parallel, where both have a gas sample travelling at the same velocity, at the same temperature run through an anerometer.

    A heated-wire anerometer works by running a current through a wire and measuring the voltage drop through the wire. The resistance will change with the speed and specific heat of the substance you're passing across the wire, because the substance will cool the heated wire based on a number of factors. A breathalyzer simply eliminates the speed measurement, and the other measurements, and what remains is the specific heat of the substance passing through the device. They simply run a reference gas in the opposite anerometer, and take the differential, and the alcohol will give a certain value.

    Not a trade secret, unless something being common knowledge for all instrument engineers taught in the past 40 years is a trade secret.
  • I am still licensed to be a medical technologist, I spent a lot of time working in hospital chemistry labs with computerized equipment, and that software fails all kinds of reasonable criteria for calibrating and operating any equipment.
    • by MBCook (132727) <foobarsoft@foobarsoft.com> on Tuesday September 04 2007, @05:03PM (#20470751) Homepage

      You don't seem to have read the "article", but then again this is /.

      Even in such a simple case there are many things it should be testing. Is the A/D output sane? Does it take 3 quick samples while someone is blowing and average them or just take it once (which could be wrong for some reason)?

      According to the article, it doesn't look like it does. It calibrates the wind sensor, but doesn't check that the calibration is sane. It doesn't report errors unless they happen 32 times in a row. It disables the watchdog timer. It disables the interrupt for illegal instructions. It doesn't meet any coding standards. It contains code with things like "this is temporary for now" in it.

      There is an obvious reason why they didn't want the code released.

      • by letxa2000 (215841) on Tuesday September 04 2007, @08:02PM (#20472897)

        Even in such a simple case there are many things it should be testing. Is the A/D output sane? Does it take 3 quick samples while someone is blowing and average them or just take it once (which could be wrong for some reason)?

        I have an even more important question: Does the friggin' device work? I agree that reading through the observations, the code doesn't instill confidence. But the real important question is whether or not it works. There must be some requirement as to how many false positives/negatives are allowed because no matter how good your code, nothing is infallible. So what is the requirement in terms of acceptable false positives and/or false negatives, and does the device meet that requirement?

        Is there is a real and legitimate belief that this device doesn't work? Or is this just some escapade launched by an attorney to free a guilty drunk driver?

        • by fishbowl (7759) <nethack.cox@net> on Tuesday September 04 2007, @11:47PM (#20474845)
          >Does the friggin' device work?

          Of course, by the time they actually bring out the breathalyzer, they've probably already decided to arrest you based on the Nystagmus test. Most of the procedure is just misdirection to keep the suspect calm, thinking he still has a chance to avoid arrest, even though it's already a foregone conclusion. It gives the DUI suspect a chance to dig a deeper grave for himself... The breathalyzer result is more valuable for getting confessions in the field, rather than for evidence in court. They don't actually *need* mechanical sobriety tests, since HGN, one-leg-stand, walk-and-turn tests and the like, stand up just fine in court.
          • by digitalunity (19107) <digitalunity&yahoo,com> on Wednesday September 05 2007, @02:47AM (#20475995) Homepage
            I can tell you 100% this is true. I received a DUI for drinking 3 coronas in January in Washington state. I passed my field sobriety test with good marks, yet being a dumbass I volunterred to take a portable breathalyzer test yielding a .085% BAC.

            When I got back to the station to take the real breathalyzer, I brought to the attention of the police officer that the breathalyzer I was being tested on had a 2 year old calibration sticker. He said, and I quote "oh don't worry these machines are accurate to 10%!". Long story short, it said my BAC was .089% which was complete bullshit. How does 3 beers in 3 hours get someone to 0.089%!?!

            The police will lie to your face so you think you're going home, write down what is necessary to create probable cause(1) and screw you while you smile. What do you expect from a state that pulls in $800k a month from DUI fees and I'm sure many times more than that in corrections fees?

            1) I was pulled over for having a cracked tail light. I volunteered to do a field sobriety test including walk & turn, 1 leg stand, HGN. Walk & turn, I did flawlessy, state patrolmen even admitted it. One-leg stand, I made it to 45 seconds and only put my foot down once. The policeman wrote in his checksheet that I used my arms to balance myself and in the notes field wrote that I also kept my hands in my pockets because it was cold. ...? HGN is supposed to last 20 seconds max as outlined in NHTSA recommendations. The patrolmen kept the HGN test going for over 60 seconds, then wrote that I was showing signs of attention deficit due to intoxication because I took my eyes off the pen to look at him in bewilderment and ask if we were done yet. Judge says state patrolmen don't have to follow NHTSA recommended practices for administering field sobriety tests and the WSP are trained to administer the tests as best they see fit.

            Long story short... If you get pulled over and you have had even 1 drink, say these works: "I respectfully decline to provide any type of field sobriety test to you at this time. If you desire, I can accompany you to the nearest station for a breathalyzer as agreed when I received my drivers license."

            At that point, they must decide if their probable cause is worth the pain in the ass you are being. Although another recent story on /. seems to imply it doesn't even matter if you're right, you might get arrested anyway. WSP sucks, WA state corrections sucks, District of Clark County sucks. Disclaimers of course, IANAL, ymmv, don't drink & drive, bury the lawyers, etc.
            • by Sandbags (964742) on Wednesday September 05 2007, @10:21AM (#20479985) Journal
              um, if you did the walking test flawlessly, why did the cop even ask you to do a breathalyser? The process for using one has to be documented, there are costs involved in replacing the breathing tube used, and more. For a 0.085, it's so close it's almost not worth it, and in most cases, by the time you got to the station and did another breathalyser, normally the number would go down not up. Cops know this, and also know that if they drag you in and you pass, there's typically hell to pay.

              That said, some people can ping 0.080 after only 1 drink, about 40 minutes after finishing that drink. If you had just finished your 3rd beverage, got in the car and then got pulled, after 3 drinks you could easily have been 0.08+. That fact that a second Breathalyzer confirmed this means you were guilty. Also, start counting the 3 hours from a point about 15 minutes after finishing the first drink, not from the time you got to the place to start drinking... You might see a different picture entirely there.

              If you have even a half-assed lawyer, and you bothered to get the ID numbers of both breathalyser used, and both had not been calibrated withing their required term (or failed calibration testing) then you would be let go without a fuss. My guess, at least one of the 2 units was within normal parameters or would pass calibration anyway, and thus be admissible in court.

              Fact is, at 0.08, you're impaired enough for it to be easily detectable in visual and reaction simulators. In fact, many states are arguing, based on scientific evidence, that this should be lowered to 0.06 as there is noticeable impairment at even that level. 0.06 means if you have 1 drink, 90 minutes later you could still fail.

              As for NHTSA recommendations on field testing, that's it, they're recommendations. Officers are expected to use their own best judgment on how to test a person. The NHTSA is more concerned with the type of test and teaching officers how to recognize signs of intoxication. On the other hand saying "Are we done yet?" probably just pissed him off...

              If you have 1 drink, you're probably OK, more than 1, you're at serious risk for DUI. Also remember, Corona is slightly stronger than say Bud Light. A Guiness is nearly twice as potent. A glass of wine is supposed to be 4 ounces, and is measured at 10% abv, but find me a restaurant that doesn't pour at least 6 oz glasses with 11-15% wine...

              Some foods can accelerate or slow the absorption as well. The first drink probably went right through you, but if you were eating food during the second and third rounds, both of them may have entered your system concurrently through digestion.

              Lessons learned here: 1, don't drive with a cracked tail light (and always use turn signals). 2, accept the field test, but decline the breathalyser. If you did bad enough on the field test, you'll go to jail anyway for a breathalyser or blood test, but if you're clean, you're OK, unless you piss off the cop or have a bad day. At the station, refuse a breathalyser and respectfully request a blood test on the grounds that it is more accurate. (if you failed a street sobriety test already, this might buy you a night in jail while you wait for results, but again, if you're clean, there's no worry) 3, never say "are we done yet" to a cop. Be polite, never act like you're in a rush. (and know his rank! This goes a long way!!!) 4, don't drink and drive... (drink at home, it's cheaper!) 5, if the calibration sticker is out of date, refuse the test and demand to have a supervisor come to the roadside site (it's your right to do so, though he may choose to bring you to the supervisor instead. this also goes for speeding tickets if the radar was not calibrated immediately before you were clocked with a tuning fork displaying a matching serial number to the radar). The more you know about the requirements the officer must display in the courtroom, the less likely you are to get a ticket. 6, have all your paperwork (registration, insurance, etc) neatly file
        • by NMerriam (15122) <NMerriam@artboy.org> on Wednesday September 05 2007, @04:15AM (#20476457) Homepage

          It is perfectly reasonable to put, say, a non-optimal but fully functional sorting routine in, and then come back and replace it with something better later


          Considering this is shipping code in a device that doesn't exactly do automatic updates over a wireless network, I'm not sure when, exactly, you're anticipating that this testing" code will be replaced with the "real thing". You'll forgive me for thinking you're taking a fairly blase attitude towards the obviously complete lack of coding standards, formal oversight, or rigorous vetting in code that can quite literally destroy someone's entire life based on the output.

          Playing around with temporary hacks is fun for a shareware app, not an officially-sanctioned law enforcement device that decides whether you were the victim of an accident or the perpetrator of a felony.
    • by Nos. (179609) <andrewNO@SPAMthekerrs.ca> on Tuesday September 04 2007, @05:03PM (#20470757) Homepage
      Well, looks like its a bit more than that (FTA):
      • Several sections are marked as "temporary, for now"
      • Converters will substitute arbitrary, favorable readings for the measured device if the measurement is out of range
      • The software takes an airflow measurement at power-up, and presumes this value is the "zero line" or baseline measurement for subsequent calculations. No quality check or reasonableness test is done on this measurement
      • It would fail software standards for the (FAA) and (FDA), as well as commercial standards used in devices for public safety
      What is this thing, alpha?
      • by daeg (828071) on Tuesday September 04 2007, @05:34PM (#20471175)
        It's a device intended to nab as many people as possible. The more people it "saves" from being killed by drunk driving the better. Accuracy doesn't matter, legal limits don't matter. ZOMG ALCOHOL!!! = Jail. Fines. Moral superiority. If police departments actually intended to serve the public, they'd come up with a more reliable system subject to completely public scrutiny and be glad to instill public trust in their methods by doing so.

        Flip it to another tool used for criminal convictions: if DNA were a public, proprietary process through only two or three companies nationwide and they refused to show anyone how it worked, would you trust them? Absolutely not.
            • by cayenne8 (626475) on Tuesday September 04 2007, @07:28PM (#20472573) Homepage Journal
              "What programming bug would you use to explain a picture with you in the middle of an intersection, red light clearly shown on the photo and drivers on the cross road edging forward after seeing a green light?"

              To prove the photo was legit...not double exposed maybe (taken when yellow, but, redlight shown), to make sure the yellow light was sufficiently long (there have been cases showing that yellow lights were shortened on purpose to generate more fine revenue)....things along that line.

        • by russotto (537200) on Tuesday September 04 2007, @08:26PM (#20473049) Journal

          Converters will substitute arbitrary, favorable readings for the measured device if the measurement is out of range

          that's more reasonable than reporting you have enough alcohol in you to kill two bull African elephants and a wildebeest.
          No, it isn't. If it, due to some error, detects enough alcohol in you to kill an elephant, it's obviously malfunctioning and should not report any value. Reporting the absurd value is second-best, because it allows you (or your attorney) to challenge the value. Reporting a reasonable-sounding value is manufacturing of evidence.

          Consider, for instance, if radar guns reported "91mph" any time they detected too high a value (say, above 200mph). You could be driving by at 75mph, some malfunction could cause the gun to detect 600mph, it would report "91mph", and you'd be screwed. If it reported 600mph and you got pulled over based on it, you'd probably win in court because your car can't do 600mph.

    • It's even worse than that. The A/D converter is hooked up to a chamber, which at one time held a known amount of air. An infrared light source is at one end of the chamber, a photovoltaic cell at the other. The A/D converter reads the photovoltaic, they multiply it by the magic 2100 number (which is truly a magic number- it's based on an average and can really range from 1300 to 3000) and spit out the answer.

      This is why it's always vitally important to get a true blood test, and to preserve a sample for your attorney.
      • Re: (Score:3, Informative)

        This is why it's always vitally important to get a true blood test, and to preserve a sample for your attorney.

        On the contrary, insist on the breathalyzer and contest the results if you fail. If you fail the blood test, you're screwed.

        • by cayenne8 (626475) on Tuesday September 04 2007, @06:51PM (#20472171) Homepage Journal
          "On the contrary, insist on the breathalyzer and contest the results if you fail. If you fail the blood test, you're screwed."

          I've posted this type info before...on other stories, but, depending on the state you are in, if you know you're gonna blow over the limit....refuse ALL tests...don't blow anything, don't give blood....and for God's sake...don't get out and try the field sobriety tests. All those do, is let the cops collect evidence to be used against you. According to my atty....he said you know you're going to jail no matter what...don't help them gather evidence from you. Just don't say anything, and put your hands out for the cuffs. And call the lawyer immediately....

          I know if varies from state to state...but, in many (maybe most) you probably will lose your license automatically for a year, but, can often get a hardship license for getting to work, food, etc. You may get a reckless driving...but, at least it isn't a DWI. That can hurt your credit, and job possibilities in this day of the MADD witchhunt. The new ridiculously low BAC forced by the feds (0.08) can get you nailed even if you are fine to drive.

          Anyway, if you like to have a drink out at all...you should know the laws of your state...and be prepared...

    • Re: (Score:3, Informative)

      The article states that the opposite is what occurs.
      from http://www.duiblog.com/2007/09/04/secret-breathaly zer-software-finally-revealed/ [duiblog.com] - 10. Error Detection Logic: The software design detects measurement errors, but ignores these errors unless they occur a consecutive total number of times. For example, in the airflow measuring logic, if a flow measurement is above the prescribed maximum value, it is called an error, but this error must occur 32 consecutive times for the error to be handled and di