head to head
Neither is meaningfully harder - they pose close to the same test. The widest gap is variance, and it is a single point.

Optimization · Pure Optimization
Colour-painting terrain puzzles that resolve to finding the intended solution.

Optimization · Pure Optimization
The portal-gun puzzle game whose solutions are everything.
Nihilumbra leans Optimization (Pure Optimization); Portal leans Optimization (Pure Optimization).
Same score on execution - which means the number cannot separate them. The difference is in what each one asks of you.
Nihilumbra
Some platforming timing, but forgiving throughout
Portal
Portal placement timing modest.
Same score on reads - which means the number cannot separate them. The difference is in what each one asks of you.
Nihilumbra
Enemies cannot be fought or read, only avoided
Portal
No adversary modeling player.
Nihilumbra leans a little harder on variance, though the gap is small.
Nihilumbra
Hand-designed puzzles with nothing random
Portal
Deterministic chambers; no randomness.
Portal leans a little harder on optimization, though the gap is small.
Nihilumbra
Choosing which colour solves each terrain puzzle is the game
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.