Skip to content

v8.0.4

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Sep 21:00

Changed

  • calculate teaches the spread rules instead of bouncing the model off
    them.
    The CP economy (8 EVs = 1 CP, each stat 0-32, 66 CP total) and a
    worked example (252 HP / 252 Atk / 4 SpD = 32 / 32 / 1 CP) now appear in the
    calculate description, the calculate_stats and check_speed descriptions,
    and the shared evs/championsPoints field descriptions. Validation errors
    are now self-correcting: the "both scales" error names each scale and the
    conversion, the range error repeats the value sent ("you sent 40"), and the
    cap error shows the breakdown and a concrete fix ("you sent 32 hp + 32 atk +
    32 spa = 96; drop to 66 or less, e.g. 32/32/1 = 65"). Also fixed the mangled
    "Pok00e9mon" lead-in in the compound tool descriptions. The principle: a
    validator that rejects without teaching is a token multiplier — ranges, caps,
    conversions and exclusivity belong in the description (and ideally the schema)
    before the validator enforces them.