Stepsim

Latest version: v0.5.7

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.5.7

-----

Released on 15 June 2013.

Fixed several bugs in milestones(), and made logging more verbose. Converters
can be compared for equality now. Converter.steps_cached now officially
indicates whether a temporary step value is active. Added method
Converter.end_temporary_steps() to unconditionally reset a temporary step value.
Converter.revert() no longer uses the Container.deliver() method to return items
in order for them not being counted as delivered. Converter.draw() no longer
checks how many units have been delivered, but how many would be delivered in
the next step, and will refuse to draw when this would exceed
Converter.max_units. Simulation.save_dot() now groups equivalent converters to a
single graph node. Updated doctests in README.

0.5.6

-----

Released on 25 Feb 2013.

Added STDERR_FORMATTER for STDERR_HANDLER for more distinguishable output to
STDERR. More verbose logging. Converter.set_temporary_steps() now applies the
change at once, changing Converter.countdown. Converter.set_temporary_steps()
now will not change any values if a temporary change is already active, and
return False instead. Converter.process() it now restores Converter.countdown
when the temporary countdown has passed. Simulation.__repr__() now also includes
all containers and their state. Updated doctest example in README.

0.5.5

-----

Released on 05 July 2012.

Added Milestone.converters. Using current_milestone.converters now in
milestones(). Added Converter.set_temporary_steps(). Converter.process() and
Converter.deliver() now temporary change of Converter.steps. Added doctest for
temporary changing the step value of a Converter to README. Minor changes.

0.5.4

-----

Released on 24 February 2012.

Added Container.units_delivered which counts the total number of units delivered
to a Container. Changed Milestone.percent() to use Container.units_delivered
instead of Container.stock. Added Converter.max_units and
Converter.units_delivered. Converter.draw() will now check if
Converter.units_delivered has reached Converter.max_units before drawing
resources. Added Converter.set_max_units() Changed doctests in README
accordingly. Minor changes and additions.

0.5.3

-----

Released on 18 September 2011.

Removed step() from Converter and replaced it by draw(), process() and deliver()
which are called by Simulation.step(). The new methods return True if the
Converter's countdown permitted the action, False otherwise.

0.5.2

-----

Released on 28 July 2011.

Stepsim is more deterministic now: milestone calculations will yield the same
results for identical input, no matter what the order of contributing
converters. Fixed total completeness percentage calculation for milestones.
A .dot graph can now be exported from milestone calculations.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.