head to head
Spelunky asks more than S.T.A.L.K.E.R. 2: Heart of Chornobyl, and the gap is execution.

Execution · Twitch Chaos
An open-world survival shooter set in a hostile irradiated Zone full of anomalies and scarce supplies.

Execution · Twitch Chaos
The original procedural platformer that codified the modern roguelike action loop.
S.T.A.L.K.E.R. 2: Heart of Chornobyl leans Execution (Twitch Chaos); Spelunky leans Execution (Twitch Chaos).
Spelunky leans clearly harder on execution.
S.T.A.L.K.E.R. 2: Heart of Chornobyl
Lethal gunfights with recoil, bleed, and ballistics punish sloppy aim
Spelunky
Tight platforming and whip control under constant threat.
Same score on reads - which means the number cannot separate them. The difference is in what each one asks of you.
S.T.A.L.K.E.R. 2: Heart of Chornobyl
A-Life NPCs roam but never model the player adaptively
Spelunky
Enemy AI is scripted; no adaptive opponents.
Spelunky leans a little harder on variance, though the gap is small.
S.T.A.L.K.E.R. 2: Heart of Chornobyl
Anomalies, emissions, stash rolls, and unknown Zone layouts hide information
Spelunky
Procedural caves and item rolls shape every run.
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
S.T.A.L.K.E.R. 2: Heart of Chornobyl
Artifact hunting, gear upkeep economy, and routing through the Zone
Spelunky
Hell route and shortcuts reward solved knowledge.
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.