The Superhero Database Classification number, or SHDB Class, is a number that represents the overall 'power' of a character. All traits of a character are used for calculating the Classification.
What it DOESN'T mean
This doesn't mean that a higher class would always beat a lower class character. But the bigger the difference in Class is, the more obvious it is who'll win in a fight.
How is this calculated
( INT^1.3 + (STR*0.5 )^2 + (SPE*0.5)^2 + DUR^1.6 + (POW + (SPS*SPL))^2 + COM^1.8 ) ^ TIER
Super Power Score and Level
Every Super Power has a score (SPS) that is used to calculate the Class. Each Super Power also has 3 levels (SPL). The level is set when connecting that Super Power to a character. The level determines the final score, of the Super Power, being used in the calculation.
So i vote for Bastion cause he possesses the same regenerative abilities as Nimrod The Hunter (Nimrod) - Prime Marvel Universethat can rebuild itself even from a single atom if its body is destroyed ( In the comics, is the Nimrod The Hunter (Nimrod) - Prime Marvel Universeability to rebuild itself from a single atom and adapt to any situation makes it an incredibly tough opponent),Coupled with the power to go toe-to-toe with a reality-shaping entity like Legion (David Haller) - Prime Marvel Universe, Bastion would indeed be a formidable force. (Legion (David Haller) - Prime Marvel Universehas "reality-warping abilities and multiple personalities" with different powers but bastion can counter every single like Nimrod The Hunter (Nimrod) - Prime Marvel Universe.. Nimrod The Hunter (Nimrod) - Prime Marvel UniverseIt is a self-sufficient machine capable of regeneration and adapting to attacks, which allow him to develop countermeasures even against Legion (David Haller) - Prime Marvel Universe).
So in that case I believe thatIn a cybernetic battle, Bastion’s potential for hacking and reprogramming could give him an edge over Ultron, especially since he can take advantage of his advanced technology to find and exploit any weaknesses in Ultron's systems with ease as he can adapt to any omega-level mutant power, ultron's defenses and efforts would be futile.