process-bigraph 1.4.5__tar.gz → 1.4.7__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.
- {process_bigraph-1.4.5/process_bigraph.egg-info → process_bigraph-1.4.7}/PKG-INFO +1 -1
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/composite.py +0 -26
- {process_bigraph-1.4.5 → process_bigraph-1.4.7/process_bigraph.egg-info}/PKG-INFO +1 -1
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/pyproject.toml +1 -1
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/AUTHORS.md +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/LICENSE +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/README.md +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/__init__.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/bundle.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/emitter.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/experiments/__init__.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/experiments/minimal_gillespie.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/nextflow.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/plumbing.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/__init__.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/dynamic_structure.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/examples.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/growth_division.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/math_expression.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/parameter_scan.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/reaction.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/__init__.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/clusters/__init__.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/clusters/ec2_ssm.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/parallel.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/pool.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/ray.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/rest.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/session.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/socket.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/run.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/run_step.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/server/__init__.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/server/rest.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/server/start.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/types/__init__.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/types/process.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/units.py +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/SOURCES.txt +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/dependency_links.txt +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/requires.txt +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/top_level.txt +0 -0
- {process_bigraph-1.4.5 → process_bigraph-1.4.7}/setup.cfg +0 -0
|
@@ -3093,38 +3093,12 @@ class Composite(Process):
|
|
|
3093
3093
|
# step_paths indexes incrementally instead of re-scanning
|
|
3094
3094
|
# the full state via find_instance_paths.
|
|
3095
3095
|
structural_events = [] if had_structural_sentinels else None
|
|
3096
|
-
# DEBUG: track cell_mass before/after apply + global_time
|
|
3097
|
-
_dbg_before = None
|
|
3098
|
-
_dbg_update = None
|
|
3099
|
-
_dbg_gt_before = self.state.get('global_time')
|
|
3100
|
-
_dbg_update_gt = combined_update.get('global_time') if isinstance(combined_update, dict) else None
|
|
3101
|
-
try:
|
|
3102
|
-
_agent_state = self.state.get('agents', {}).get('00') or self.state.get('agents', {}).get('0')
|
|
3103
|
-
if _agent_state:
|
|
3104
|
-
_dbg_before = _agent_state.get('listeners', {}).get('mass', {}).get('cell_mass')
|
|
3105
|
-
_u_agents = combined_update.get('agents', {}) if isinstance(combined_update, dict) else {}
|
|
3106
|
-
_u_agent = _u_agents.get('00') if isinstance(_u_agents, dict) else None
|
|
3107
|
-
if not _u_agent and isinstance(_u_agents, dict):
|
|
3108
|
-
_u_agent = _u_agents.get('0') if _u_agents else None
|
|
3109
|
-
if _u_agent:
|
|
3110
|
-
_dbg_update = _u_agent.get('listeners', {}).get('mass', {}).get('cell_mass')
|
|
3111
|
-
except Exception:
|
|
3112
|
-
pass
|
|
3113
3096
|
self.state, merges = self.core.apply(
|
|
3114
3097
|
apply_schema,
|
|
3115
3098
|
self.state,
|
|
3116
3099
|
combined_update,
|
|
3117
3100
|
update_has_structural=had_structural_sentinels,
|
|
3118
3101
|
events=structural_events)
|
|
3119
|
-
try:
|
|
3120
|
-
_agents_dict = self.state.get('agents', {})
|
|
3121
|
-
_agent_state = _agents_dict.get('00') or _agents_dict.get('0')
|
|
3122
|
-
_dbg_after = _agent_state.get('listeners', {}).get('mass', {}).get('cell_mass') if _agent_state else None
|
|
3123
|
-
_gt_after = self.state.get('global_time')
|
|
3124
|
-
if _dbg_update is not None or (_dbg_before is not None and _dbg_before != _dbg_after):
|
|
3125
|
-
print(f'[APPLY_DEBUG] composite_id={id(self)} state_id={id(self.state)} agents_id={id(_agents_dict)} gt_before={_dbg_gt_before} gt_after={_gt_after} update_gt={_dbg_update_gt} cm: {_dbg_before} +update={_dbg_update} -> {_dbg_after}', flush=True)
|
|
3126
|
-
except Exception:
|
|
3127
|
-
pass
|
|
3128
3102
|
# For structural sentinels, apply mutates the
|
|
3129
3103
|
# access-normalized form of ``apply_schema`` in place
|
|
3130
3104
|
# (e.g. ``_divide`` pops the mother key and inserts
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/experiments/minimal_gillespie.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/dynamic_structure.py
RENAMED
|
File without changes
|
|
File without changes
|
{process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/growth_division.py
RENAMED
|
File without changes
|
{process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/math_expression.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/clusters/__init__.py
RENAMED
|
File without changes
|
{process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/clusters/ec2_ssm.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
|
{process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|