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. i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

Scheduled Pinned Locked Moved Uncategorized
140 Posts 61 Posters 0 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.
  • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

    i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

    the "ideal" (their choice of words) case is 64.2%

    porglezomp@mastodon.socialP This user is from outside of this forum
    porglezomp@mastodon.socialP This user is from outside of this forum
    porglezomp@mastodon.social
    wrote last edited by
    #4

    @whitequark i can imagine a few cases where reformatting a code could change behavior (mostly related to language constructs that capture source locations) so I think I would be willing to accept as low as 99.99%

    whitequark@social.treehouse.systemsW 1 Reply Last reply
    0
    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

      @lumi no it's published in the proceedings of IEEE/ACM https://upload.whitequark.org/1774306843-Duetcs_Code_Style_Transfer_through_Generation_and_Retrieval.pdf

      lumi@snug.moeL This user is from outside of this forum
      lumi@snug.moeL This user is from outside of this forum
      lumi@snug.moe
      wrote last edited by
      #5

      @whitequark i was more so asking if the paper was satire, but i guess looking at it answers my questions as well ​​

      1 Reply Last reply
      0
      • porglezomp@mastodon.socialP porglezomp@mastodon.social

        @whitequark i can imagine a few cases where reformatting a code could change behavior (mostly related to language constructs that capture source locations) so I think I would be willing to accept as low as 99.99%

        whitequark@social.treehouse.systemsW This user is from outside of this forum
        whitequark@social.treehouse.systemsW This user is from outside of this forum
        whitequark@social.treehouse.systems
        wrote last edited by
        #6

        @porglezomp you'll love Fig. 6

        whitequark@social.treehouse.systemsW xgranade@wandering.shopX fuzzyfuzzyfungus@cyberplace.socialF rootkitty@yiff.lifeR mntmn@mastodon.socialM 5 Replies Last reply
        0
        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

          i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

          the "ideal" (their choice of words) case is 64.2%

          whitequark@social.treehouse.systemsW This user is from outside of this forum
          whitequark@social.treehouse.systemsW This user is from outside of this forum
          whitequark@social.treehouse.systems
          wrote last edited by
          #7

          this isn't satire, this is real research published by IEEE/ACM

          disorderlyf@todon.euD deborahh@cosocial.caD 2 Replies Last reply
          0
          • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

            @porglezomp you'll love Fig. 6

            whitequark@social.treehouse.systemsW This user is from outside of this forum
            whitequark@social.treehouse.systemsW This user is from outside of this forum
            whitequark@social.treehouse.systems
            wrote last edited by
            #8

            @porglezomp there's explanatory text that says the issue with the identifier "found" is that it's rarely used

            Link Preview Image
            porglezomp@mastodon.socialP 1 Reply Last reply
            0
            • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

              i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

              the "ideal" (their choice of words) case is 64.2%

              be_far@social.treehouse.systemsB This user is from outside of this forum
              be_far@social.treehouse.systemsB This user is from outside of this forum
              be_far@social.treehouse.systems
              wrote last edited by
              #9

              @whitequark “surely it just means differing output structure to accommodate the formatting, right?”

              No, it just produces code that won’t compile. In a refactoring tool.

              (Haha, didn’t see the post a minute before mine with the exact same snip)

              Link Preview Image
              1 Reply Last reply
              0
              • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                the "ideal" (their choice of words) case is 64.2%

                theartlav@anarres.familyT This user is from outside of this forum
                theartlav@anarres.familyT This user is from outside of this forum
                theartlav@anarres.family
                wrote last edited by
                #10

                @whitequark Huh. Were they actually trying to make it work, or trying to show that it's a bad idea to try to use ML for that task?

                whitequark@social.treehouse.systemsW 1 Reply Last reply
                0
                • theartlav@anarres.familyT theartlav@anarres.family

                  @whitequark Huh. Were they actually trying to make it work, or trying to show that it's a bad idea to try to use ML for that task?

                  whitequark@social.treehouse.systemsW This user is from outside of this forum
                  whitequark@social.treehouse.systemsW This user is from outside of this forum
                  whitequark@social.treehouse.systems
                  wrote last edited by
                  #11

                  @theartlav former

                  1 Reply Last reply
                  0
                  • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                    @porglezomp there's explanatory text that says the issue with the identifier "found" is that it's rarely used

                    Link Preview Image
                    porglezomp@mastodon.socialP This user is from outside of this forum
                    porglezomp@mastodon.socialP This user is from outside of this forum
                    porglezomp@mastodon.social
                    wrote last edited by
                    #12

                    @whitequark I really love “not changing endl to \n” listed as a style issue when that changes buffer flushing behavior.

                    whitequark@social.treehouse.systemsW 1 Reply Last reply
                    0
                    • porglezomp@mastodon.socialP porglezomp@mastodon.social

                      @whitequark I really love “not changing endl to \n” listed as a style issue when that changes buffer flushing behavior.

                      whitequark@social.treehouse.systemsW This user is from outside of this forum
                      whitequark@social.treehouse.systemsW This user is from outside of this forum
                      whitequark@social.treehouse.systems
                      wrote last edited by
                      #13

                      @porglezomp did you notice that one of the If tokens is capitalized in the output

                      porglezomp@mastodon.socialP 1 Reply Last reply
                      0
                      • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                        @porglezomp did you notice that one of the If tokens is capitalized in the output

                        porglezomp@mastodon.socialP This user is from outside of this forum
                        porglezomp@mastodon.socialP This user is from outside of this forum
                        porglezomp@mastodon.social
                        wrote last edited by
                        #14

                        @whitequark hahaha I did not

                        1 Reply Last reply
                        0
                        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                          @porglezomp you'll love Fig. 6

                          xgranade@wandering.shopX This user is from outside of this forum
                          xgranade@wandering.shopX This user is from outside of this forum
                          xgranade@wandering.shop
                          wrote last edited by
                          #15

                          @whitequark @porglezomp I'm spitting out my drink at j++ ­→ j--. Holy shit.

                          robin@gts.icewind.meR sabik@rants.auS 2 Replies Last reply
                          0
                          • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                            i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                            the "ideal" (their choice of words) case is 64.2%

                            uep@timeloop.cafeU This user is from outside of this forum
                            uep@timeloop.cafeU This user is from outside of this forum
                            uep@timeloop.cafe
                            wrote last edited by
                            #16

                            @whitequark you know where there's a ready source of additional words? you surely will not regret sourcing additional words.

                            1 Reply Last reply
                            0
                            • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                              i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                              the "ideal" (their choice of words) case is 64.2%

                              matthewcroughan@social.defenestrate.itM This user is from outside of this forum
                              matthewcroughan@social.defenestrate.itM This user is from outside of this forum
                              matthewcroughan@social.defenestrate.it
                              wrote last edited by
                              #17
                              Got a link?
                              whitequark@social.treehouse.systemsW 1 Reply Last reply
                              0
                              • matthewcroughan@social.defenestrate.itM matthewcroughan@social.defenestrate.it
                                Got a link?
                                whitequark@social.treehouse.systemsW This user is from outside of this forum
                                whitequark@social.treehouse.systemsW This user is from outside of this forum
                                whitequark@social.treehouse.systems
                                wrote last edited by
                                #18

                                @matthewcroughan https://upload.whitequark.org/1774306843-Duetcs_Code_Style_Transfer_through_Generation_and_Retrieval.pdf

                                1 Reply Last reply
                                0
                                • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                  i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                                  the "ideal" (their choice of words) case is 64.2%

                                  G This user is from outside of this forum
                                  G This user is from outside of this forum
                                  gerardthornley@hachyderm.io
                                  wrote last edited by
                                  #19

                                  @whitequark not a paper *deliberately* about genetic algorithms, then?

                                  1 Reply Last reply
                                  0
                                  • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                    i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                                    the "ideal" (their choice of words) case is 64.2%

                                    fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                                    fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                                    fuzzyfuzzyfungus@cyberplace.social
                                    wrote last edited by
                                    #20

                                    @whitequark "Code style generally does not interfere
                                    with the code semantics and executability"; but we present novel methods for it to do so!

                                    1 Reply Last reply
                                    0
                                    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                      this isn't satire, this is real research published by IEEE/ACM

                                      disorderlyf@todon.euD This user is from outside of this forum
                                      disorderlyf@todon.euD This user is from outside of this forum
                                      disorderlyf@todon.eu
                                      wrote last edited by
                                      #21

                                      @whitequark So let me get this straight, IEEE thinks you should count it as a win if rewriting your code by vibing it has less than 15% better odds than a literal coinflip of reproducibility?

                                      edited for clarity and to fix a typo

                                      urixturing@hachyderm.ioU sammy@cherrykitten.gayS 2 Replies Last reply
                                      0
                                      • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                        this isn't satire, this is real research published by IEEE/ACM

                                        deborahh@cosocial.caD This user is from outside of this forum
                                        deborahh@cosocial.caD This user is from outside of this forum
                                        deborahh@cosocial.ca
                                        wrote last edited by
                                        #22

                                        @whitequark @danlyke so … by "reformatted" I assume you mean aesthetically tidied up, with no change in functionality required?

                                        If I got that right: wtf?

                                        whitequark@social.treehouse.systemsW mrkeen@mastodon.socialM 2 Replies Last reply
                                        0
                                        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                          i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                                          the "ideal" (their choice of words) case is 64.2%

                                          ireneista@adhd.irenes.spaceI This user is from outside of this forum
                                          ireneista@adhd.irenes.spaceI This user is from outside of this forum
                                          ireneista@adhd.irenes.space
                                          wrote last edited by
                                          #23

                                          @whitequark compare and contrast the Extreme Programming philosophy, in which a code change doesn't count as "refactoring" unless all observable behavior is identical

                                          krans@mastodon.me.ukK whitequark@social.treehouse.systemsW 2 Replies Last reply
                                          0
                                          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