head to head
Neither is simply harder - they are hard in different places. Persona 4 Golden demands more variance; Portal demands more execution.

Optimization · Pure Optimization
A calendar-driven JRPG carried by persona fusion and social-link planning.

Optimization · Pure Optimization
The portal-gun puzzle game whose solutions are everything.
Persona 4 Golden leans Optimization (Pure Optimization); Portal leans Optimization (Pure Optimization).
Portal leans clearly harder on execution.
Persona 4 Golden
Turn-based, no input demand
Portal
Portal placement timing modest.
Persona 4 Golden leans a little harder on reads, though the gap is small.
Persona 4 Golden
Scripted enemies
Portal
No adversary modeling player.
Persona 4 Golden leans clearly harder on variance.
Persona 4 Golden
Weakness and crit rolls
Portal
Deterministic chambers; no randomness.
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
Persona 4 Golden
Persona fusion and calendar routing rewarded
Portal
Pure puzzle-solving optimization.
A matching score does not mean a matching test. Two games can both sit at 10 on execution and demand completely different things of you - which is why the reasoning above matters more than the number beside it.