Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Single character coding error changes conclusion and leads to retraction of medical paper https://www.medscape.com/viewarticle/wildfire-smoke-dementia-risk-paper-retracted-2025a1000hpw?form=fpf

Single character coding error changes conclusion and leads to retraction of medical paper https://www.medscape.com/viewarticle/wildfire-smoke-dementia-risk-paper-retracted-2025a1000hpw?form=fpf

Scheduled Pinned Locked Moved Uncategorized
7 Posts 4 Posters 6 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arclight@oldbytes.spaceA This user is from outside of this forum
    arclight@oldbytes.spaceA This user is from outside of this forum
    arclight@oldbytes.space
    wrote last edited by
    #1

    Single character coding error changes conclusion and leads to retraction of medical paper https://www.medscape.com/viewarticle/wildfire-smoke-dementia-risk-paper-retracted-2025a1000hpw?form=fpf

    No shame on the researchers for missing this; mistakes are normal and credit to them for correcting the record. What I'm curious about is specifically what language or system the coding error was in (R, Excel, SQL?) to understand how easy it was to make the mistake and if there are other characteristics of the system that make it easier for mistakes to slip through. We need better deterministic tools tuned for scientific and engineering use and need help defending against these sorts of common simple errors.

    autolycos@beige.partyA 1 Reply Last reply
    1
    0
    • arclight@oldbytes.spaceA arclight@oldbytes.space

      Single character coding error changes conclusion and leads to retraction of medical paper https://www.medscape.com/viewarticle/wildfire-smoke-dementia-risk-paper-retracted-2025a1000hpw?form=fpf

      No shame on the researchers for missing this; mistakes are normal and credit to them for correcting the record. What I'm curious about is specifically what language or system the coding error was in (R, Excel, SQL?) to understand how easy it was to make the mistake and if there are other characteristics of the system that make it easier for mistakes to slip through. We need better deterministic tools tuned for scientific and engineering use and need help defending against these sorts of common simple errors.

      autolycos@beige.partyA This user is from outside of this forum
      autolycos@beige.partyA This user is from outside of this forum
      autolycos@beige.party
      wrote last edited by
      #2

      @arclight "Where there should have been an ‘and’ symbol in our code, there was an ‘and/or’ symbol,”

      docbohn@techhub.socialD 1 Reply Last reply
      0
      • autolycos@beige.partyA autolycos@beige.party

        @arclight "Where there should have been an ‘and’ symbol in our code, there was an ‘and/or’ symbol,”

        docbohn@techhub.socialD This user is from outside of this forum
        docbohn@techhub.socialD This user is from outside of this forum
        docbohn@techhub.social
        wrote last edited by
        #3

        @autolycos @arclight That definitely sounds like they're describing an inclusive or. There aren't many languages that use only a single character for the *logical* boolean operations -- off the top of my head, MATLAB and R -- and no sensible person would use bitwise boolean operations (it's just not the way it's taught). If we consider compound assignments, then `&=` and `|=` differ by only one character, and now you're looking at pretty much any language that inherited syntax from C.

        docbohn@techhub.socialD pja@functional.cafeP 2 Replies Last reply
        0
        • docbohn@techhub.socialD docbohn@techhub.social

          @autolycos @arclight That definitely sounds like they're describing an inclusive or. There aren't many languages that use only a single character for the *logical* boolean operations -- off the top of my head, MATLAB and R -- and no sensible person would use bitwise boolean operations (it's just not the way it's taught). If we consider compound assignments, then `&=` and `|=` differ by only one character, and now you're looking at pretty much any language that inherited syntax from C.

          docbohn@techhub.socialD This user is from outside of this forum
          docbohn@techhub.socialD This user is from outside of this forum
          docbohn@techhub.social
          wrote last edited by
          #4

          @autolycos @arclight it'd be pretty hard to make a typographical error like this in FORTRAN, Ada, Python, and other languages where the boolean operators are `and`, `or`, etc (or `.AND.`, `.OR.`, etc). You could still make a design error, but you wouldn't be able to blame it on a typo.

          autolycos@beige.partyA 1 Reply Last reply
          0
          • docbohn@techhub.socialD docbohn@techhub.social

            @autolycos @arclight it'd be pretty hard to make a typographical error like this in FORTRAN, Ada, Python, and other languages where the boolean operators are `and`, `or`, etc (or `.AND.`, `.OR.`, etc). You could still make a design error, but you wouldn't be able to blame it on a typo.

            autolycos@beige.partyA This user is from outside of this forum
            autolycos@beige.partyA This user is from outside of this forum
            autolycos@beige.party
            wrote last edited by
            #5

            @DocBohn Lol! I was certain you would mention Ada after the article regarding Ada I retooted.

            Good article. I appreciated reading what @bsdphk shared.

            @arclight

            autolycos@beige.partyA 1 Reply Last reply
            0
            • autolycos@beige.partyA autolycos@beige.party

              @DocBohn Lol! I was certain you would mention Ada after the article regarding Ada I retooted.

              Good article. I appreciated reading what @bsdphk shared.

              @arclight

              autolycos@beige.partyA This user is from outside of this forum
              autolycos@beige.partyA This user is from outside of this forum
              autolycos@beige.party
              wrote last edited by
              #6

              @DocBohn @bsdphk @arclight

              I'm wondering if it was in a SQL-esque query?

              1 Reply Last reply
              0
              • docbohn@techhub.socialD docbohn@techhub.social

                @autolycos @arclight That definitely sounds like they're describing an inclusive or. There aren't many languages that use only a single character for the *logical* boolean operations -- off the top of my head, MATLAB and R -- and no sensible person would use bitwise boolean operations (it's just not the way it's taught). If we consider compound assignments, then `&=` and `|=` differ by only one character, and now you're looking at pretty much any language that inherited syntax from C.

                pja@functional.cafeP This user is from outside of this forum
                pja@functional.cafeP This user is from outside of this forum
                pja@functional.cafe
                wrote last edited by
                #7

                @DocBohn @autolycos @arclight According to the original paper the analysis was carried out in R:

                Just a moment...

                favicon

                (jamanetwork.com)

                1 Reply Last reply
                0
                • R relay@relay.mycrowd.ca shared this topic
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups