bdo-toolkit 1.1.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bdo_toolkit-1.1.0/src/bdo_toolkit.egg-info → bdo_toolkit-1.1.1}/PKG-INFO +1 -1
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/assembly.py +19 -1
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/storage.py +71 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_version.py +1 -1
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1/src/bdo_toolkit.egg-info}/PKG-INFO +1 -1
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_character_state.py +36 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/LICENSE +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/README.md +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/pyproject.toml +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/setup.cfg +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_async_sessions.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_async_utils.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/_constants.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/_formatting.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/_records.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/analysis.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/capture.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/companions.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/live.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/observations.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/persistence.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/progress.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/validation.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_calibration/workflow.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_capture_backend.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_capture_options.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_capture_runtime.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_deposit_origin.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_engine.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_framing.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/_constants.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/_records.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/character_discovery.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/character_models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/character_profile.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/character_slots.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/character_witnesses.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/characters.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/formatting.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/inventory.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_item_state/session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_observation_session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_origin/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_origin/discovery.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_origin/manual.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_origin/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_origin/tracker.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_profile_io.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_profile_runtime.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_protocol.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_reassembly.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_record_geometry.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_specs.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_storage_destination_validation.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_storage_hydration.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/_tracked_capture.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/_calibration_models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/_capture.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/_discovery.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/_profile.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/_validation.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/async_session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/calibration.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/replay.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/agris/session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/calibration.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/capture.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/capture_diagnosis.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/character_calibration.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/character_state.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/cli.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/diagnostics.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/events.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/filters.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/grind/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/grind/_pipeline.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/grind/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/grind/session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/item_state.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/origin_learning.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/profiles.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/py.typed +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/raw/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/raw/_collector.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/raw/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/raw/replay.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/raw/session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/remote_profiles.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_constants.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_detail_learning.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_details.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_discovery.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_live_tracker.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_replay_capture.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_result.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_scanner.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_short_board.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/_validation.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/async_session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/replay.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/solare/session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/writers.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/xp/__init__.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/xp/_tracker.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/xp/models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/xp/profile.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/xp/replay.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit/xp/session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit.egg-info/SOURCES.txt +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit.egg-info/dependency_links.txt +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit.egg-info/entry_points.txt +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit.egg-info/requires.txt +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/src/bdo_toolkit.egg-info/top_level.txt +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_async.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_cli.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_discovery.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_evidence.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_models.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_profiles.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_replay.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_agris_session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_async_sessions.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_calibration.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_calibration_conveniences.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_calibration_lifecycle.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_calibration_persistence.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_calibration_progress.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_calibration_retention.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_capture_backend.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_capture_diagnosis.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_capture_replay.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_capture_runtime.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_character_calibration.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_character_loadouts.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_cli.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_decoder_diagnostics.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_deposit_origin.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_direction.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_dynamic_storage_calibration_matrix.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_engine.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_examples_and_writers.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_explicit_profile.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_fixture_catalog.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_fixture_regressions.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_framing.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_grind.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_initial_load_storage.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_inventory_snapshots.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_item_state.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_live_capture_session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_origin_learning.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_package_layout.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_profile_validation.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_raw.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_reassembly.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_remote_profiles.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_api.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_details.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_equipment.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_history.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_learning.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_learning_adversarial.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_real_captures.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_replay.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_solare_session.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_storage_destination_validation.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_storage_events.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_storage_hydration_tracker.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_storage_unknown_destination_calibration.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_toolkit_api.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_xp.py +0 -0
- {bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_xp_profiles.py +0 -0
|
@@ -44,6 +44,7 @@ from .storage import (
|
|
|
44
44
|
_character_storage_snapshot_fallback,
|
|
45
45
|
_reconcile_split_storage_hydration,
|
|
46
46
|
_small_character_storage_fallback,
|
|
47
|
+
_worker_adjacent_storage_sweep,
|
|
47
48
|
)
|
|
48
49
|
|
|
49
50
|
|
|
@@ -347,7 +348,19 @@ class _CharacterStateAccumulator:
|
|
|
347
348
|
)
|
|
348
349
|
small_fallback_used = bool(storage_events)
|
|
349
350
|
|
|
350
|
-
|
|
351
|
+
worker_sweep_used = False
|
|
352
|
+
if (
|
|
353
|
+
not storage_events
|
|
354
|
+
and fallback_observations is None
|
|
355
|
+
and decoder_health is not None
|
|
356
|
+
and decoder_health.storage_is_compatible
|
|
357
|
+
):
|
|
358
|
+
storage_events = _worker_adjacent_storage_sweep(
|
|
359
|
+
neutral_storage_events, live_storage_boundaries, inventory_anchors,
|
|
360
|
+
)
|
|
361
|
+
worker_sweep_used = bool(storage_events)
|
|
362
|
+
|
|
363
|
+
if storage_events and neutral_storage_events and not worker_sweep_used:
|
|
351
364
|
(
|
|
352
365
|
reconciled_events,
|
|
353
366
|
reconciled_observations,
|
|
@@ -422,6 +435,11 @@ class _CharacterStateAccumulator:
|
|
|
422
435
|
"wrappers; the empty current state is preserved, but no record-level "
|
|
423
436
|
"container metadata was available."
|
|
424
437
|
)
|
|
438
|
+
if worker_sweep_used:
|
|
439
|
+
warnings.append(
|
|
440
|
+
"Storage hydration recovered from consecutive storage frames in TCP "
|
|
441
|
+
"stream order. Worker production was excluded."
|
|
442
|
+
)
|
|
425
443
|
if small_fallback_used:
|
|
426
444
|
warnings.append(
|
|
427
445
|
"Sparse storage state was inferred from one identity-complete cohort "
|
|
@@ -11,6 +11,7 @@ from .._protocol import (
|
|
|
11
11
|
STORAGE_LOCATIONS,
|
|
12
12
|
storage_location,
|
|
13
13
|
)
|
|
14
|
+
from .._storage_hydration import StorageHydrationTracker
|
|
14
15
|
from ..events import BDOEvent
|
|
15
16
|
|
|
16
17
|
from ._constants import (
|
|
@@ -224,6 +225,76 @@ def _small_character_storage_fallback(
|
|
|
224
225
|
return tuple(replace(event, event_type="storage_snapshot", source=None) for event in events)
|
|
225
226
|
|
|
226
227
|
|
|
228
|
+
def _worker_adjacent_storage_sweep(
|
|
229
|
+
events: tuple[BDOEvent, ...],
|
|
230
|
+
boundaries: tuple[BDOEvent, ...],
|
|
231
|
+
anchors: tuple[_HydrationAnchor, ...],
|
|
232
|
+
) -> tuple[BDOEvent, ...]:
|
|
233
|
+
"""Recover one contiguous broad sweep obscured by worker callback ordering.
|
|
234
|
+
|
|
235
|
+
Assembly has already selected the latest inventory flow and generation.
|
|
236
|
+
Require the entire neutral run, with consecutive frame byte ranges, so
|
|
237
|
+
neither missing frames nor live mutations can be bridged.
|
|
238
|
+
"""
|
|
239
|
+
if not events or not anchors or not boundaries:
|
|
240
|
+
return ()
|
|
241
|
+
if any(
|
|
242
|
+
e.source != "Worker Production" or e.event_type != "storage_delta"
|
|
243
|
+
for e in boundaries
|
|
244
|
+
):
|
|
245
|
+
return ()
|
|
246
|
+
if len({e.opcode for e in events}) != 1 or any(
|
|
247
|
+
not e.storage_instance or not e.storage_id or e.quantity <= 0 for e in events
|
|
248
|
+
):
|
|
249
|
+
return ()
|
|
250
|
+
times = sorted({e.timestamp for e in events})
|
|
251
|
+
anchor = max(a.timestamp for a in anchors)
|
|
252
|
+
if not anchor <= times[0] <= times[-1] <= anchor + _STORAGE_HYDRATION_EPOCH_SECONDS:
|
|
253
|
+
return ()
|
|
254
|
+
if times[-1] - times[0] > _STORAGE_HYDRATION_MAX_BURST_SECONDS or any(
|
|
255
|
+
b - a > _STORAGE_HYDRATION_BURST_GAP_SECONDS for a, b in zip(times, times[1:])
|
|
256
|
+
):
|
|
257
|
+
return ()
|
|
258
|
+
frame_events: dict[int, list[BDOEvent]] = {}
|
|
259
|
+
for event in events:
|
|
260
|
+
seq = _event_frame_key(event).stream_sequence
|
|
261
|
+
if seq is None:
|
|
262
|
+
return ()
|
|
263
|
+
frame_events.setdefault(seq, []).append(event)
|
|
264
|
+
positions: list[tuple[int, int, int]] = []
|
|
265
|
+
for seq, rows in frame_events.items():
|
|
266
|
+
first = rows[0]
|
|
267
|
+
if not first.message_length or not first.storage_id:
|
|
268
|
+
return ()
|
|
269
|
+
if len(rows) != (first.record_count or 1):
|
|
270
|
+
return ()
|
|
271
|
+
if len({row.record_index for row in rows}) != len(rows):
|
|
272
|
+
return ()
|
|
273
|
+
positions.append((seq, first.message_length, first.storage_id))
|
|
274
|
+
positions.sort()
|
|
275
|
+
towns: set[int] = set()
|
|
276
|
+
previous_town = None
|
|
277
|
+
end = positions[0][0]
|
|
278
|
+
for start, length, town in positions:
|
|
279
|
+
if start != end or (town != previous_town and town in towns):
|
|
280
|
+
return ()
|
|
281
|
+
end = start + length
|
|
282
|
+
towns.add(town)
|
|
283
|
+
previous_town = town
|
|
284
|
+
if (
|
|
285
|
+
len(towns) < StorageHydrationTracker.MIN_UNANCHORED_DESTINATIONS
|
|
286
|
+
or max(map(len, frame_events.values())) < StorageHydrationTracker.MIN_UNANCHORED_RECORD_COUNT
|
|
287
|
+
):
|
|
288
|
+
return ()
|
|
289
|
+
for event in boundaries:
|
|
290
|
+
seq = _event_frame_key(event).stream_sequence
|
|
291
|
+
if seq is None or not event.message_length:
|
|
292
|
+
return ()
|
|
293
|
+
if seq < end and seq + event.message_length > positions[0][0]:
|
|
294
|
+
return ()
|
|
295
|
+
return tuple(replace(e, event_type="storage_snapshot") for e in events)
|
|
296
|
+
|
|
297
|
+
|
|
227
298
|
def _reconcile_split_storage_hydration(
|
|
228
299
|
frames: Iterable[BDOFrame],
|
|
229
300
|
snapshot_events: Iterable[BDOEvent],
|
|
@@ -2977,3 +2977,39 @@ def test_small_load_fallback_preserves_snapshot_before_later_activity():
|
|
|
2977
2977
|
state = accumulator.snapshot()
|
|
2978
2978
|
assert state.storages.nonempty_count == 1
|
|
2979
2979
|
assert any("Sparse storage state was inferred" in w for w in state.warnings)
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
@pytest.mark.parametrize("workers", [1, 237])
|
|
2983
|
+
@pytest.mark.parametrize("boundary", ["outside", "inside", "unknown", "manual", "gap"])
|
|
2984
|
+
def test_worker_burst_can_only_recover_contiguous_neutral_frames(workers, boundary):
|
|
2985
|
+
accumulator = _CharacterStateAccumulator(
|
|
2986
|
+
profile_source="test", specs=(_storage_snapshot_spec(),),
|
|
2987
|
+
)
|
|
2988
|
+
accumulator.observe_event(_state_inventory_anchor())
|
|
2989
|
+
for index in range(workers):
|
|
2990
|
+
worker = _state_storage_event(
|
|
2991
|
+
timestamp=1.3, sequence=200_000 + 257 * index,
|
|
2992
|
+
storage_id=32, event_type="storage_delta",
|
|
2993
|
+
)
|
|
2994
|
+
worker = replace(worker, source="Worker Production")
|
|
2995
|
+
if index == 0:
|
|
2996
|
+
if boundary == "inside":
|
|
2997
|
+
worker = replace(worker, extra={"stream_sequence": 1257})
|
|
2998
|
+
elif boundary == "unknown":
|
|
2999
|
+
worker = replace(worker, extra={})
|
|
3000
|
+
elif boundary == "manual":
|
|
3001
|
+
worker = replace(worker, source="Manual")
|
|
3002
|
+
accumulator.observe_event(worker)
|
|
3003
|
+
for index, town in enumerate(tuple(STORAGE_LOCATIONS)[:17]):
|
|
3004
|
+
seq = 1000 + index * 257 + int(boundary == "gap" and index > 0)
|
|
3005
|
+
event = _state_storage_event(
|
|
3006
|
+
timestamp=1.2, sequence=seq, storage_id=town, event_type="storage_record",
|
|
3007
|
+
)
|
|
3008
|
+
count = 8 if index == 0 else 1
|
|
3009
|
+
for i in range(count):
|
|
3010
|
+
accumulator.observe_event(replace(
|
|
3011
|
+
event, record_index=i + 1, record_count=count,
|
|
3012
|
+
storage_instance=f"town-{town}-stack-{i}",
|
|
3013
|
+
))
|
|
3014
|
+
result = accumulator.snapshot(decoder_health=DecoderHealth(storage_status="compatible"))
|
|
3015
|
+
assert result.storages.occupied_stacks == (24 if boundary == "outside" else 0)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bdo_toolkit-1.1.0 → bdo_toolkit-1.1.1}/tests/test_storage_unknown_destination_calibration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|