Week 5, Lab 4

cduarte3

Christian Duarte

Posted on October 5, 2024

Week 5, Lab 4

Code ...

In this weeks lab, I had the pleasure of working on a DIFFERENT student's repo than the one I had previously worked on in prior labs. I also had someone new working on my own repo, and that was a cool experience as well. The code itself went pretty good this time around, everything went pretty smoothly and I had a fun time adding a feature to someone news's work that I hadn't worked on before or seen how they coded.

Problems and difficulties...

To be honest, I didn't really have many problems or difficulties this time around. Majority of my problems was just a quick issue of me not being able to figure out one of the parsers for TOML files. Once I switched to a different one for python called tomli, it went okay. The only other thing would be that I worked with Ollama in typescript, my last partner worked with Ollama in JavaScript, and my new partner worked with Groq in Python. Little bit of a curve to understand the code for a second there, but I got the hang of it very quickly and was able to work very efficiently.

Work ...

I tackled the work by first forking, cloning, and looking through the files of my partner's repo. I then researched a parser for TOML to use. After that I messed around with the code, being careful to not mess anything up or change anything drastically, and figured out a way to implement and test each feature one by one with commits for each option. I had a commit for options such as version, then models, then api-key, then token, etc. Along the way I kept in touch with my partner, confirming things such as if they liked the way I was implementing the features, asking for feedback, and confirming if my comments matched what they were looking for, as I modeled them and the structure of my code off of the existing code in the repo.

Overall experience ...

My overall experience was that I had fun doing this. I used a remote for the first time which I had never done before. I don't think it was too challenging, and it allowed me to receive and test the code without actually applying the changes to main yet. The partner I had working on my code was communicating with me the entire way through and we were able to coordinate certain changes that had to be made in order for me to merge the pull request. Overall both partners I had for this lab were great to work with, whether they were reviewing my code, or having me review theirs. I think this was a good experience overall and I look forward to seeing what comes next.

Image description

💖 💪 🙅 🚩
cduarte3
Christian Duarte

Posted on October 5, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related