← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / scientific-agent-skills / skills / simpy / references / sources.md

Sources and verification record

Research completed 2026-07-23 with parallel-cli search and parallel-cli extract, then checked against an isolated installation of simpy==4.1.2. Versioned documentation is preferred over the latest build, which showed a 4.1.2 development revision during verification.

Release, packaging, and source

PyPI file hashes observed 2026-07-23:

Use the pinned package command in SKILL.md; hashes are recorded for provenance, not embedded into uv pip install syntax.

Official SimPy 4.1.2 documentation

Entry points

All accessed 2026-07-23. The examples index covers condition events, interrupts, Resource, PreemptiveResource, Container, Store, shared events, and process waiting.

Core topical guides

All accessed 2026-07-23.

API pages

All accessed 2026-07-23.

Source-level semantic finding

The 4.1.2 Environments topical guide informally says Event-based run() returns when the Event has been processed. The 4.1.2 API docstring says "triggered." Tagged core.py is decisive:

Therefore the target value can be returned while target.processed is still false, until one more step processes the rescheduled empty-callback Event. This was reproduced under the exact PyPI 4.1.2 wheel on Python 3.13 and is covered by tests/test_scripts.py.

Numeric run(until=time) creates an urgent internal stop Event, so normal Events at that exact time are excluded. This was verified from both tagged source and runtime tests.

Primary simulation-method sources

These sources describe simulation-study design and output analysis. They are not SimPy API documentation.

Research queries used

Parallel searches/extractions covered:

No Parallel JSON artifacts were written into the repository.