Coder Social home page Coder Social logo

asmd23-lab03-llm's Introduction

Testing llm's code generation capabilities

Task 1

ChatGPT

I had to instruct it in order for it not to spit out some "random" code immediately and ask it nicely to wait for all the interfaces definitions and it took quite a few tries in order to get it right. At some point it didn't want to work anymore and asked me to implement stuff, but simply asking it to do it for me was enough to maintain my lazyness intact. After a few errors I had to ask if it wanted to see the test definition again and doing so helped quite a bit with the following answers.

  • Probably using GPT 4 would have helped
  • Happy that I am faster than GPT 3.5 at not so trivial implementations

Copilot

I am not a big fan of letting copilot free, I tend to use it only for boilerplate, so my current setup is probably not optimized to allow copilot to implement a good portion of the code.
I tried opening the project using vscode as as suggested during class it was the editor with the best integration, probably because I haven't set it up properly copilot wasn't able to access the project files, making it not very usefull when it comes to code generation.
I then switched back to neovim where I used it to help me writing the code. I tried to let his "immagination" run free at the beginning and tried to intervene only modifing the code it created but quickly noticed that the solution it was creating were sub optimal at best. I then used it similarly to the way I always use it, helping me with boilerplate code.

  • Don't think it is ready to write the code for me
  • Has a lot of sub-optimal solutions I think this is to be expected, since a lot of the code that it was trained on was of questionable quality.

asmd23-lab03-llm's People

Contributors

sceredi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.