{"sport":"mlb","slug":"luis-hernandez","bio":{"fullName":"Luis Hernandez","position":"P","team":"TEX","heightInches":70,"weightLbs":190,"birthDate":"1984-06-26","rookieSeason":2007,"lastSeason":2012,"status":"RET","externalIds":{"mlbam":"434682","chadwick":"2c1656fc","retro":"hernl004","wikidata":"Q973940"}},"draft":null,"statTables":[{"id":"batting","label":"Batting","columns":[{"key":"g"},{"key":"ab"},{"key":"r"},{"key":"h"},{"key":"doubles"},{"key":"triples"},{"key":"hr"},{"key":"rbi"},{"key":"sb"},{"key":"bb"},{"key":"so"},{"key":"avg"},{"key":"obp"},{"key":"slg"},{"key":"ops"}],"rows":[{"season":2007,"seasonType":"REG","team":"BAL","gamesPlayed":30,"values":{"g":30,"ab":69,"r":5,"h":20,"doubles":2,"triples":0,"hr":1,"rbi":7,"sb":2,"bb":1,"so":10,"avg":0.29,"obp":0.3,"slg":0.362,"ops":0.662},"rowScope":"team"},{"season":2008,"seasonType":"REG","team":"BAL","gamesPlayed":36,"values":{"g":36,"ab":79,"r":9,"h":19,"doubles":1,"triples":0,"hr":0,"rbi":3,"sb":2,"bb":7,"so":11,"avg":0.241,"obp":0.295,"slg":0.253,"ops":0.548},"rowScope":"team"},{"season":2009,"seasonType":"REG","team":"KC","gamesPlayed":37,"values":{"g":37,"ab":73,"r":4,"h":15,"doubles":1,"triples":0,"hr":0,"rbi":4,"sb":1,"bb":4,"so":18,"avg":0.205,"obp":0.256,"slg":0.219,"ops":0.475},"rowScope":"team"},{"season":2010,"seasonType":"REG","team":"NYM","gamesPlayed":17,"values":{"g":17,"ab":44,"r":4,"h":11,"doubles":1,"triples":0,"hr":2,"rbi":6,"sb":1,"bb":2,"so":7,"avg":0.25,"obp":0.298,"slg":0.409,"ops":0.707},"rowScope":"team"},{"season":2012,"seasonType":"REG","team":"TEX","gamesPlayed":2,"values":{"g":2,"ab":2,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"}],"careerTotals":{"REG":{"g":122,"ab":267,"r":22,"h":65,"doubles":5,"triples":0,"hr":3,"rbi":20,"sb":6,"bb":14,"so":46,"avg":0.243,"obp":0.284,"slg":0.296,"ops":0.58}}},{"id":"advanced","label":"Advanced (League-Relative)","columns":[{"key":"ops_plus","label":"OPS+","description":"On-base plus slugging vs the player's own season+league (100 = league average). Park-unadjusted; OBP uses a consistent (H+BB)/(AB+BB) rate. Higher is better.","format":"int","higherIsBetter":true},{"key":"era_plus","label":"ERA+","description":"Earned-run average vs the player's own season+league (100 = league average). Park-unadjusted. Higher is better.","format":"int","higherIsBetter":true}],"rows":[{"season":2007,"seasonType":"REG","team":"BAL","values":{"ops_plus":76,"era_plus":null},"rowScope":"team"},{"season":2008,"seasonType":"REG","team":"BAL","values":{"ops_plus":51,"era_plus":null},"rowScope":"team"},{"season":2009,"seasonType":"REG","team":"KC","values":{"ops_plus":25,"era_plus":null},"rowScope":"team"},{"season":2010,"seasonType":"REG","team":"NYM","values":{"ops_plus":90,"era_plus":null},"rowScope":"team"},{"season":2012,"seasonType":"REG","team":"TEX","values":{"ops_plus":-100,"era_plus":null},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":55,"era_plus":null}},"advancedMeta":{"method":"computed in-house from MLB StatsAPI season batting/pitching lines, normalized to each player's own (season, league) baseline","formulas":{"era_plus":"100 * lgERA / playerERA (league ERA = 9 * ΣER / ΣIP over the season+league)","ops_plus":"100 * (OBP/lgOBP + SLG/lgSLG - 1)","career_era_plus":"innings-weighted league ERA / career ERA (B-Ref method)","career_ops_plus":"AB-weighted OBP & SLG against AB-weighted league rates"},"caveats":["PARK-UNADJUSTED: no park-factor data exists in the corpus, so these are league-relative but not park-adjusted (true B-Ref ERA+/OPS+ also divide by a park factor)","OBP baseline uses a consistent (H+BB)/(AB+BB) reached-base rate for BOTH player and league — the source feed carries no HBP or SF, so this is not the full (H+BB+HBP)/(AB+BB+HBP+SF) OBP; SLG is exact from the hit-type columns","league resolved from team code + season (most-recently-founded franchise existing by that season); the same resolver builds the baseline and looks up the player, so ratios stay internally coherent","a (season, league) bucket below the sample floor (3000 AB batting / 1000 IP pitching) yields null — no noisy baselines","regular season only; postseason lines are excluded from league baselines and metrics","AL and NL and each historical/Negro league are normalized separately — never blended across leagues or eras"]}}],"dataSources":["MLB StatsAPI (statsapi.mlb.com — official public league API; facts only, raw payloads not republished)"],"generatedAt":"2026-07-03T02:05:56.096Z"}