commercetest / nlnet

Analysis of the opensource codebases of NLnet sponsored projects.
MIT License
0 stars 0 forks source link

Flaw in the logic generated by Chat-GPT4 repo URL ends up in column 'a' #2

Closed julianharty closed 5 months ago

julianharty commented 5 months ago

Context

I used Chat-GPT4 to generate a short program to experiment with loading the tsv file into a pandas dataframe. Sadly, it didn't process rows that contained only an additional code repo URL correctly.

Proposed approach

Create another experiment as a python file and load the data row by row where these rows would have the code repo URL stored in the final (third) column. While the code may be very inefficient there are only roughly 630 rows so the overall performance loss does not materially affect running the code from a human/wall-clock perspective.

julianharty commented 5 months ago

Note: Commit 752f7e99c7f21823daff4f9b770aaad237145069 also fixed this issue.

julianharty commented 5 months ago

Some commentary on how I learned sufficient code to implement the hand-crafted python. Perhaps it'll help others who have similar skills in python learn how I approached the learning (and - I hope - help them to learn better ways than the approach I used).

What did I need to learn?

 How/where did I learn?

In short, online, mainly via Google Searches.