You should probably equalize speed, otherwise Yupia has a pretty big advantage.
Now, as for the fight, Yupia should take this mid-high difficulty.
Most of this information comes from TheEverlasting who has beaten Nier multiple times and is very knowledgeable on the verse as a whole.
First off, AP and Durbility. 2-B scales from damaging A2, who tanked a 493 megaton attack, while Yupia scales from casually destroying most of Bog's body, who shrugged off a 312 megaton attack with basically no damage. They should be relatively even though Yupia likely has an advantage here.
Skill-wise, Yupia should be fairly superior in given her experience fighting a number of different opponents with varying abilities on top of her Perception and Information Analysis.
Now, for 2B's equipment:
First off is her Pod. While the backup is helpful, there is an issue that 2B can only have the Pods use one program at a time before they need a cooldown. On top of that, the most helpful ability in their arsenal, time slow, only lasts for 5.5 seconds before deactivating, and should they miss it would be not only a waste of an attack, but Yupia would know what they are capable of and would likely destroy them asap. 2B has also never used their hacking ability...ever.
Second is her Plug-Ins. While its usually preferred that the OP actually specify what Plug-Ins 2B has in threads (Which even then is quite limited by her in-universe storage capacity), but in this situation in which no chips are specified, 2B is assumed to not have chips as she canonically has no set chips that she uses. But lets go through the ones that would make a difference in this fight anyways. Counter needs perfect timing in order to work and doesnt work on ranged attacks, of which Yupia has several and is perfectly willing to use. Damage Absorb only has a 35% chance of working. Auto-Heal only works after not being attacked for 4 seconds and the damage healed is negligible at best. Evasive System slows 2B as well as the projectile she is trying to dodge. Overclock only works for a maximum of 5.5 seconds and requires a perfect dodge to work and does not activate every single time 2B dodges an attack. Reset will only work once and does not restore her to full health. Vengeance, while powerful, doesnt actually negate the damage reflected, said reflection only works half the time, and it doesnt work on ranged attacks.
Third is her weapons. She has a pretty big arsenal with some decent weapons but...she can't use everything at once, only one weapon at a time which she has to manually change to, and out of all of them, the only one that would really do anything here is the Spear of the Usurper, and even then the fact that Yupia is bloodlusted means that there's a good chance it wont, and if she's gone into her berserker state there's an even lesser chance that it would work.
Overall, while 2B's abilities seem useful on paper, in practice their drawbacks in availability and application actually limit her quite a bit, as well as a case of a larger arsenal being less helpful when only a few specific weapons work. Yupia should take this.
Thank you Ever ovo