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

Execution · Practiced Mastery
A forgiving licensed romp testing basic platforming and light puzzle solving.

Execution · Practiced Mastery
A bite-sized 3D Mario that compresses Galaxy-style level design into linear handheld courses.
Shrek 2 leans Execution (Practiced Mastery); Super Mario 3D Land leans Execution (Practiced Mastery).
Super Mario 3D Land leans a little harder on execution, though the gap is small.
Shrek 2
Light platforming and enemy bashing with forgiving timing
Super Mario 3D Land
3D jumps and special-world remixes need clean control
Same score on reads - which means the number cannot separate them. The difference is in what each one asks of you.
Shrek 2
Scripted movie-tie-in enemies never adapt to you
Super Mario 3D Land
Scripted enemies and bosses only
Same score on variance - which means the number cannot separate them. The difference is in what each one asks of you.
Shrek 2
Levels and puzzles are fixed once seen
Super Mario 3D Land
Star coin locations hidden on first pass
Super Mario 3D Land leans a little harder on optimization, though the gap is small.
Shrek 2
Simple puzzle solutions and character-swap routing to learn
Super Mario 3D Land
Star coin collection and power-up management are solvable
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.