Recently I had an oppurtunity with a strong startup (~10 people, innovative AI idea, but strong profits).
They paid all costs to fly me out so I can work with them for a few days to see if it's a match.
The problem was that when we met, the founders asked me what project I would like to implement in their system within these few days. I wasn't prepared to propose my own idea for how to extend their platform as I didn't know how they build things, and I wasn't sure if I can commit to completing a project in this short amount of times. I asked a few questions, and eventually the conversation landed on an idea I was excited about but I had no idea how to practically implement.
Moreover, their codebase was a mess (files with 10k+ lines, zero comments) and it was a weekend so I couldn't get much help from the engineers.
I've delivered a partial demo on the project, but ultimately wasn't able to ship the whole thing and did not receive an offer. I discussed with the CEO after and he mentioned that he liked my cultural fit, and he also thinks this project was too difficult, but he just doesn't see a good role where I fit currently.
I am trying to learn from this experience and what I could improve, and wanted to get any suggestions in this forum.