bdo-toolkit 1.0.15__tar.gz → 1.0.16__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.0.15/src/bdo_toolkit.egg-info → bdo_toolkit-1.0.16}/PKG-INFO +1 -1
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_version.py +1 -1
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_detail_learning.py +7 -7
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16/src/bdo_toolkit.egg-info}/PKG-INFO +1 -1
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_learning.py +41 -1
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_learning_adversarial.py +28 -2
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/LICENSE +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/README.md +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/pyproject.toml +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/setup.cfg +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_async_sessions.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_async_utils.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/_constants.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/_formatting.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/_records.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/analysis.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/capture.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/companions.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/live.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/observations.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/persistence.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/progress.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/validation.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_calibration/workflow.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_capture_backend.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_capture_options.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_capture_runtime.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_deposit_origin.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_engine.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_framing.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/_constants.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/_records.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/assembly.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/formatting.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/inventory.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_item_state/storage.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_observation_session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_origin/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_origin/discovery.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_origin/manual.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_origin/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_origin/tracker.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_profile_io.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_profile_runtime.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_protocol.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_reassembly.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_record_geometry.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_specs.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_storage_destination_validation.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_storage_hydration.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_tracked_capture.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/_calibration_models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/_capture.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/_discovery.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/_profile.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/_validation.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/async_session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/calibration.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/replay.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/agris/session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/calibration.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/capture.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/capture_diagnosis.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/character_state.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/cli.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/diagnostics.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/events.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/filters.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/grind/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/grind/_pipeline.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/grind/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/grind/session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/item_state.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/origin_learning.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/profiles.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/py.typed +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/raw/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/raw/_collector.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/raw/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/raw/replay.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/raw/session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/remote_profiles.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_constants.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_details.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_discovery.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_live_tracker.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_replay_capture.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_result.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_scanner.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/_validation.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/async_session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/replay.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/solare/session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/writers.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/xp/__init__.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/xp/_tracker.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/xp/models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/xp/profile.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/xp/replay.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/xp/session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit.egg-info/SOURCES.txt +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit.egg-info/dependency_links.txt +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit.egg-info/entry_points.txt +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit.egg-info/requires.txt +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit.egg-info/top_level.txt +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_async.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_cli.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_discovery.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_evidence.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_models.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_profiles.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_replay.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_agris_session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_async_sessions.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_calibration.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_calibration_conveniences.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_calibration_lifecycle.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_calibration_persistence.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_calibration_progress.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_calibration_retention.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_capture_backend.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_capture_diagnosis.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_capture_replay.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_capture_runtime.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_character_state.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_cli.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_decoder_diagnostics.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_deposit_origin.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_direction.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_dynamic_storage_calibration_matrix.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_engine.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_examples_and_writers.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_explicit_profile.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_fixture_catalog.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_fixture_regressions.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_framing.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_grind.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_initial_load_storage.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_inventory_snapshots.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_item_state.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_live_capture_session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_origin_learning.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_package_layout.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_profile_validation.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_raw.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_reassembly.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_remote_profiles.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_api.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_details.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_equipment.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_history.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_real_captures.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_replay.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_solare_session.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_storage_destination_validation.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_storage_events.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_storage_hydration_tracker.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_storage_unknown_destination_calibration.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_toolkit_api.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_xp.py +0 -0
- {bdo_toolkit-1.0.15 → bdo_toolkit-1.0.16}/tests/test_xp_profiles.py +0 -0
|
@@ -70,7 +70,6 @@ _MAX_AGGREGATE_VECTORS = 256
|
|
|
70
70
|
_MAX_LEARNED_RECORD_END = 32 * 1024
|
|
71
71
|
_MIN_HISTORY_DISCRIMINATORS = 5
|
|
72
72
|
_PREFILTER_ROWS = 32
|
|
73
|
-
_MAX_UNASSIGNED_FIELD_BYTES = 4
|
|
74
73
|
_MAX_ZERO_OUTCOME_PADDING = 3
|
|
75
74
|
|
|
76
75
|
|
|
@@ -481,9 +480,10 @@ def _anchored_zero_outcome_offsets(
|
|
|
481
480
|
|
|
482
481
|
Require two complementary active outcomes and independently validated
|
|
483
482
|
text-array boundaries. Across the tail from class codes to record end,
|
|
484
|
-
one bounded 12..15-byte zero region may remain
|
|
485
|
-
|
|
486
|
-
decode the same zero vector. No arbitrary
|
|
483
|
+
one bounded 12..15-byte zero region may remain. Shorter unassigned gaps
|
|
484
|
+
cannot contain a complete three-counter array. Every complete placement
|
|
485
|
+
in the remaining region must decode the same zero vector. No arbitrary
|
|
486
|
+
zero region is promoted.
|
|
487
487
|
Distinct container proofs and conflicting counter solutions still reject.
|
|
488
488
|
"""
|
|
489
489
|
complementary = tuple(
|
|
@@ -543,9 +543,9 @@ def _anchored_zero_outcome_offsets(
|
|
|
543
543
|
if cursor < records.record_end:
|
|
544
544
|
gaps.append((cursor, records.record_end - cursor))
|
|
545
545
|
wide = [(start, size) for start, size in gaps if size >= 12]
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
546
|
+
# Unknown bytes smaller than a full array cannot compete with its
|
|
547
|
+
# container. Larger gaps still require the unique bounded proof below.
|
|
548
|
+
if len(wide) != 1 or wide[0][1] > 12 + _MAX_ZERO_OUTCOME_PADDING:
|
|
549
549
|
continue
|
|
550
550
|
start, size = wide[0]
|
|
551
551
|
if all(row[start:start + size] == bytes(size) for row in rows):
|
|
@@ -71,6 +71,44 @@ class _ReplayPair:
|
|
|
71
71
|
learned: SolareCaptureResult
|
|
72
72
|
|
|
73
73
|
|
|
74
|
+
@pytest.mark.parametrize("capture_id,occupied_counts,first_outcomes", (
|
|
75
|
+
("solare--leaderboard-kr-eight-byte-gap--b7a6dab339", (798, 112), (179, 110, 0, 69)),
|
|
76
|
+
("solare--leaderboard-kr-eight-byte-gap--b0438d4f48", (805, 116), (190, 117, 0, 73)),
|
|
77
|
+
("solare--leaderboard-sea-eight-byte-gap--09e5978bd4", (895, 126), (102, 66, 0, 36)),
|
|
78
|
+
))
|
|
79
|
+
def test_short_unknown_fields_preserve_complete_real_capture_details(
|
|
80
|
+
capture_id, occupied_counts, first_outcomes,
|
|
81
|
+
):
|
|
82
|
+
path = optional_fixture_path(capture_id)
|
|
83
|
+
if not path.is_file():
|
|
84
|
+
pytest.skip("private short-gap Solare capture is not installed")
|
|
85
|
+
result = replay_solare(path)
|
|
86
|
+
assert result.complete and result.evidence.health.capture_is_clean
|
|
87
|
+
assert result.evidence.exact_cross_check == 100
|
|
88
|
+
snapshot = result.snapshot
|
|
89
|
+
assert snapshot is not None
|
|
90
|
+
assert len(snapshot.players) == 640 and len(snapshot.overall_top_100) == 100
|
|
91
|
+
required = {"rankings", "elo", "performance", "equipment"}
|
|
92
|
+
assert required <= snapshot.class_table_capabilities
|
|
93
|
+
assert required <= snapshot.overall_capabilities
|
|
94
|
+
assert tuple(sum(len(p.classes_played) for p in rows) for rows in (
|
|
95
|
+
snapshot.players, snapshot.overall_top_100,
|
|
96
|
+
)) == occupied_counts
|
|
97
|
+
by_rank = {player.global_rank: player for player in snapshot.players}
|
|
98
|
+
primary = by_rank[1].classes_played[0]
|
|
99
|
+
assert (primary.matches, primary.wins, primary.draws, primary.losses) == first_outcomes
|
|
100
|
+
for player in (*snapshot.players, *snapshot.overall_top_100):
|
|
101
|
+
for slot in player.classes_played:
|
|
102
|
+
assert slot.record_is_balanced and slot.draws == 0
|
|
103
|
+
assert slot.equipment is not None and len(slot.equipment) == 14
|
|
104
|
+
for overall in snapshot.overall_top_100:
|
|
105
|
+
rich = by_rank[overall.global_rank]
|
|
106
|
+
assert (overall.name, overall.elo) == (rich.name, rich.elo)
|
|
107
|
+
assert overall.classes_played == rich.classes_played
|
|
108
|
+
# Unknown groups remain optional; recovery never synthesizes aggregates.
|
|
109
|
+
assert "aggregate_performance" not in snapshot.overall_capabilities
|
|
110
|
+
|
|
111
|
+
|
|
74
112
|
def test_eu_recent_draw_capture_recovers_all_details():
|
|
75
113
|
if not _EU_RECENT_DRAW_CAPTURE.is_file():
|
|
76
114
|
pytest.skip('private EU recent-draw capture is not installed')
|
|
@@ -456,7 +494,9 @@ def test_mixed_registered_and_unknown_tables_keep_independent_details(
|
|
|
456
494
|
"capture_id, recoverable",
|
|
457
495
|
(
|
|
458
496
|
("solare--leaderboard-complete--1065cbd89c", {"rich", "overall"}),
|
|
459
|
-
|
|
497
|
+
# Its separate five-byte gap cannot compete with the 12-byte draw
|
|
498
|
+
# container. Removing draws must still recover the original layout.
|
|
499
|
+
("solare--leaderboard-complete-retry--8bfa6979ab", {"rich", "overall"}),
|
|
460
500
|
("solare--leaderboard-complete-post-patch--92d835cbe9", {"rich"}),
|
|
461
501
|
("solare--leaderboard-complete-unregistered--dfeb623bda", {"rich", "overall"}),
|
|
462
502
|
("solare--leaderboard-complete-live-clock-regression--45c54a0567", {"rich"}),
|
|
@@ -662,7 +662,33 @@ def test_zero_outcomes_allow_one_separate_unassigned_word_and_binary_gear_prefix
|
|
|
662
662
|
assert performance.zero_outcome_candidates == (7871, 7872, 7873)
|
|
663
663
|
|
|
664
664
|
|
|
665
|
-
@pytest.mark.parametrize("
|
|
665
|
+
@pytest.mark.parametrize("gap_size", range(1, 12))
|
|
666
|
+
@pytest.mark.parametrize("zero_filled", (False, True))
|
|
667
|
+
def test_zero_outcomes_ignore_gaps_too_short_for_another_counter_array(gap_size, zero_filled):
|
|
668
|
+
records, occupancies = _zero_draw_tail()
|
|
669
|
+
# Place unknown bytes before gear, shifting both gear and the draw container.
|
|
670
|
+
# Exercise zeros too: a short zero run is not a competing three-counter array.
|
|
671
|
+
gap = bytes(gap_size) if zero_filled else bytes(range(17, 17 + gap_size))
|
|
672
|
+
records.family.frame_length += gap_size + 2
|
|
673
|
+
rows = tuple(row[:1864] + gap + row[1864:] + bytes(2) for row in records.rows)
|
|
674
|
+
performance = learning._learn_performance_offsets(replace(records, rows=rows), 12, occupancies)
|
|
675
|
+
assert performance is not None
|
|
676
|
+
assert (performance.matches_offset, performance.wins_offset,
|
|
677
|
+
performance.losses_offset) == (15, 27, 39)
|
|
678
|
+
assert performance.zero_outcome_candidates == tuple(range(7867 + gap_size, 7870 + gap_size))
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
@pytest.mark.parametrize("gap_size", (12, 13, 15, 16, 24))
|
|
682
|
+
@pytest.mark.parametrize("zero_filled", (False, True))
|
|
683
|
+
def test_zero_outcomes_reject_another_gap_large_enough_for_a_counter_array(gap_size, zero_filled):
|
|
684
|
+
records, occupancies = _zero_draw_tail()
|
|
685
|
+
gap = bytes(gap_size) if zero_filled else bytes(range(17, 17 + gap_size))
|
|
686
|
+
records.family.frame_length += gap_size
|
|
687
|
+
rows = tuple(row[:1864] + gap + row[1864:] for row in records.rows)
|
|
688
|
+
assert learning._learn_performance_offsets(replace(records, rows=rows), 12, occupancies) is None
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
@pytest.mark.parametrize("damage", ("large_tail", "nonzero_before", "nonzero_after", "other_wide_gap"))
|
|
666
692
|
def test_zero_outcome_equivalence_rejects_unproved_containers(damage):
|
|
667
693
|
records, occupancies = _zero_draw_tail()
|
|
668
694
|
rows = [row + bytes(2) for row in records.rows]
|
|
@@ -675,7 +701,7 @@ def test_zero_outcome_equivalence_rejects_unproved_containers(damage):
|
|
|
675
701
|
row[7867 if damage == "nonzero_before" else -1] = 1
|
|
676
702
|
rows[0] = bytes(row)
|
|
677
703
|
else:
|
|
678
|
-
size = 12
|
|
704
|
+
size = 12
|
|
679
705
|
rows = [row[:1864] + bytes(size) + row[1864:] for row in rows]
|
|
680
706
|
extra += size
|
|
681
707
|
records.family.frame_length += extra
|
|
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.0.15 → bdo_toolkit-1.0.16}/src/bdo_toolkit/_storage_destination_validation.py
RENAMED
|
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.0.15 → bdo_toolkit-1.0.16}/tests/test_storage_unknown_destination_calibration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|