head to head
Icewind Dale II asks more than Portal 2, and the gap is variance.

Optimization · Pure Optimization
A 3rd Edition ruleset combat puzzle where multi-classing and feat selection unlock dominant strategies.

Optimization · Pure Optimization
A first-person puzzle game where seeing the solution is the whole skill.
Icewind Dale II leans Optimization (Pure Optimization); Portal 2 leans Optimization (Pure Optimization).
Portal 2 leans a little harder on execution, though the gap is small.
Icewind Dale II
Real-time-with-pause negates twitch requirements
Portal 2
Portal placement requires some precision but timing is lenient.
Icewind Dale II leans a little harder on reads, though the gap is small.
Icewind Dale II
Scripted enemy routines offer nothing to read or predict adaptively
Portal 2
No opponent; puzzles are static.
Icewind Dale II leans clearly harder on variance.
Icewind Dale II
3E feat combinations and hidden enemy resistances create unknown-information layers
Portal 2
Puzzles are deterministic with no randomness.
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
Icewind Dale II
3rd Edition feat optimization and multi-class architecture dominate success
Portal 2
Solving the puzzle's logic IS the entire game.
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.