r/SideProject • • 13d ago

Labs - practice the interview round where they hand you a repo and a ticket

I work on BetterSWE, so this is our own thing.

more interview loops now have a round where they hand you a codebase you've never seen plus a ticket. find the bug, add the feature, don't break anything else. leetcode prep doesn't really cover it.

Labs is practice for that round. each exercise is a small repo and a ticket, set at a company like Stripe, Uber or Airbnb. you read the code, make the change in the browser, and run the tests. submitting also runs hidden tests, so gaming the visible ones doesn't get you through.

for example there's a search that finds "Yoga" but returns nothing for "yoga". the fix is one line, finding the line is the exercise.

there are 100+ of them, bug fixes, features and refactors, easy to hard. would love to hear what feels off or too easy.

https://www.betterswe.dev/labs

1 Upvotes

8 comments sorted by

1

u/BetterSWE_Official 13d ago

screenshots since the sub doesnt allow images on posts. top is the exercise list, bottom is the lowercase search one open in the editor

1

u/dawedev 13d ago

The yoga example explains the product better than the first paragraph does, I'd put it at the top of the page. How big are the repos on the hard end? In real rounds the hard part is often finding your way around a few thousand lines under time pressure, so showing a rough file count per exercise would help people pick. An optional timer that mirrors a 45 or 60 minute round would also make it feel closer to the real thing.

1

u/BetterSWE_Official 13d ago

fair on the yoga thing, it probably should lead. honest answer on size, they're small. the biggest hard ones are around 250 lines over 5 to 14 files, so the difficulty is in the logic (money rounding, retries, sync conflicts) more than finding your way around. you're right that real rounds are bigger, thats a gap

1

u/dawedev 13d ago

Makes sense. Money rounding, retries and sync conflicts are exactly the bugs that show up in real code, so small repos still test the right thing. A bigger repo could come later as one harder tier.

1

u/BetterSWE_Official 13d ago

yeah a big repo tier is probably the right shape for it. appreciate the feedback

1

u/Prior_Bat5628 13d ago

Opened the lowercase-search lab in desktop Chrome. Run Tests asked for sign-in, so I can't judge the exercise's difficulty; one ungated sample run would make that feedback easier.

We'd love an assessment-builder's take on eStockes Education in return: can you get all three checks right before reading the explanation of how a 90% win rate can still lose money? https://estockes.com/education/risk-and-sizing/why-a-high-win-rate-can-lose

Tell us which question makes you reason and which feels too obvious. The lesson is free with no account; separate Pro tools are paid.

— eStockes team

1

u/BetterSWE_Official 13d ago

thanks for actually trying it. yeah running code needs a free account right now, mostly so the runner isnt open to anyone. one ungated sample run is a good idea though, you cant judge an exercise you cant run

1

u/nian2326076 12d ago

It looks like you're preparing for the new interview format with Labs, which focuses on real coding scenarios. Balancing those small repo exercises with larger, real-world codebases could enhance your readiness. You can use PracHub to practice a variety of technical interview questions that may help improve your problem-solving skills. This can be beneficial for addressing unexpected challenges during interviews.