Should you keep the repository magic contained in Hogwarts Legacy?

Quick answer: Keeping it contained gives the good ending; choosing to open it gives the darker ending. The fight, rewards and post-game are the same either way.
Show walkthrough (story spoilers)
When the choice comes
Near the end of The Final Repository, after the last wave of goblins, Professor Fig asks what you intend to do with the repository. Your two answers in this talk decide the ending. It happens before the fight with Ranrok.
Keep it contained
Answer "I intend to keep it contained here," then "I shall keep it secret forever." This is the good ending, where the magic stays locked away. Fig is badly hurt in the fight that follows and hands you Miriam’s wand before he dies.
Open it
Answer "I intend to open it," then "This power should not be kept from the world." This is the darker ending. After the fight your character absorbs some of the power, their eyes glow orange and they mean to spread the magic.
Does it matter?
Only the ending cutscene changes. The Great Hall ceremony, the switch to spring and the post-game quests happen either way, and The House Cup does not depend on this choice. Pick the answer that fits your character.
