uwarp-space 2026-03-27
Comprehensive PvP parity test suite, waypoint config, parity design spec
96 files · 19,328+ · 309-

Comprehensive PvP parity test suite — 8 categories, 29 tests

3 files changed
  • pvp_check.py PvP parity test runner with 29 registered tests across 8 categories
  • sim_pvp.py Multi-player simulation PvP tests: sector, fighter, combat ext, comms, social, economy, corp, NPC, stealth, planet, mine trap, beacon
  • pvp-parity-gaps.md PvP parity gap table: cross-player coverage audit
  • 29 PvP parity tests registered across 8 simulation categories: sector tests (fighter deploy/visibility, scan, broadcast), fighter trap (auto-attack, friendly fire, defensive, retrieve), combat ext (photon, mine explosion, escape pod, genesis, alignment), comms (mail, hail, mine lay, limpet), social (alliance block, enemy declaration, corp memo, online list, diplomacy), economy (rob, cargo steal, simultaneous trade, haggle), corp (join, fighter pool, treasury, war, assets, planet transfer, kick), NPC (fed police, watcher, ferrengi, alignment gates). Mine trap (limpet, armid, disruptor, owner notify) and beacon visibility tests also added. qualify internal
    2 files
    • pvp_check.py
    • sim_pvp.py

Computer class report, scanner, bank, and corp transfer tests

1 file changed
  • parity_check.py Computer E/G (evil/good traders) class report tests; long-range scanner tests (S key, holo scanner); bank_examine; corp_credit_transfer
  • Parity test suite extended with: Computer E/G class report tests (evil/good trader rankings), long-range scanner (S key and holographic scanner) parity, bank_examine display parity, and corp_credit_transfer parity with sector_sync precondition. CIM social key tests (propose_alliance, declare_enemy, diplomacy_status) and CIM online_players/fire_photon added. qualify internal
    1 file
    • parity_check.py

Waypoint flag, disable gamble/social by default, haggle fix

3 files changed
  • config.py waypoint_enabled flag gates cmd_waypoints; disable gamble and social features by default for TWGS Gold parity
  • trading.py Haggle truncation corrected: int(qty*(int(unit_price)*markup)) matches TWGS Gold truncation order
  • config.py waypoint_enabled added to SAFE_CONFIG_DEFAULTS; worker social default set explicitly
  • waypoint_enabled config flag gates the cmd_waypoints command to prevent non-Gold features from appearing. Gamble and social features disabled by default for TWGS Gold parity. Haggle truncation order corrected to match TWGS Gold: int(qty*(int(unit_price)*markup)) rather than the previous operation order. baseline behavioral
    2 files
    • config.py
    • trading.py

fighters_sync precondition, turns_per_warp, and binary planet fix

3 files changed
  • preconditions.py fighters_sync precondition added to fix fighter count drift across parity tests
  • movement.py turns_per_warp read from SHIPD.DAT for correct per-hop turn cost
  • binary_reader.py Planet owner_id and sector populated from TWINDEX.NDX on binary load
  • fighters_sync precondition added to parity tests to prevent fighter count drift between test runs. turns_per_warp now read from SHIPD.DAT rather than a hardcoded default, fixing turn cost per warp hop. Binary planet loader now populates owner_id and sector from TWINDEX.NDX. remediate behavioral
    2 files
    • movement.py
    • binary_reader.py

Parity design spec and implementation plan

2 files changed
  • 100-parity-design-spec.md Two-phase parity design spec: fix failures + coverage audit
  • 100-parity-implementation-plan.md Phase 1 + Phase 2 parity implementation plan
  • Parity design spec and plan document the two-phase approach: Phase 1 fixes existing test failures, Phase 2 performs a full coverage audit to identify untested TWGS Gold behaviors. PvP parity gap specs for cross-player and single-player coverage also added. specify internal
    2 files
    • 100-parity-design-spec.md
    • 100-parity-implementation-plan.md