Hacker News new | past | comments | ask | show | jobs | submit login

I tried this question and GPT4 did way way better to getting closer to a final answer. Phind was horribly wrong. I can't help but think something seems off with your eval given just how badly Phind did on this.

I want to make an interactive plot in Colab where I can show

X axis is interest rate of a 15 year mortgage. Y axis is the relative advantage of buying a house vs. renting in terms of total net worth at 15 years.

Assume a monthly budget for renting + investing or buying a house of 10k

Plot different lines for a few different market returns.

Make a slider that controls the total size of the loan.




Seemed to give plausible results for me: https://www.phind.com/search?cache=lswmiuewv2l33jt337dgrsho


def calculate_relative_advantage(interest_rate, loan_size, market_return): # Your calculation logic here pass

Chat gpt actually implements it


Just prompt it to implement the function


I did and it was wrong. I was responding to the claim that they got a plausible result.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: