Module 2 - get_friends_of_person

Has anyone faced a problem with get_friends_of_person function while populating the friend of friends exercise ? i am getting random assignments, please advise if there is any known bug in the exercise itself or an alternate options you have tried.

Thanks

Which course are you attending?
You’ve posted in the general-purpose “AI Discussions” forum.

Thanks for the response. it is for hte programming assignment : Social Network Database

It got resolved by Two-Pass approach : First, create all Person records and commit them. Then, establish friendships and club memberships. This has resolved the issue.
If anyone having issue, please let me know if can share the details.