Sounds like 50% of the units will be occupied by LMI tenants as long as the rents are affordable (do you have that data?). Even if fewer than 50% of the units were affordable and restricted to LMI tenants you can still meet the "primary purpose" test if:
1- you have documentation from the borrower that they intend to offer affordable rents for % of tenants who are :LMI tenants.
2- you structure the deal to achieve the purpose (i.e., set asides as you have indicated) and
3- you are reasonably certain to have fulfilled the CD purpose or can prove you have fulfilled the purpose.
If you do the foregoing you can claim 100% credit and not just pro rata credit.
_________________________
CRA Exam Preparation, CRA Performance Evaluations, Key Performance Benchmarks, & maps