Negmas

Latest version: v0.11.3

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

Scan your dependencies

Page 3 of 19

0.10.15

---------------

* Making controllers generics for typing stability
* Adding agent_names back to the NMI

0.10.14

---------------
* Running bridge in slow actions
* Adding a tutorial about using the genius bridge
* Getting "negmas genius" to work as expected and adding more arguments to it
* Making negotiators generics
* Adding conversion from GBState to SAOState even though it is not really needed. Not tested yet.
* Making mechanisms and worlds generics
* Link corrections in docs
* Getting genius_id to work for all negotiators now
* Migrating from black to ruff for formatting
* Skipping stat combination tests
* Adding plot_combined_stats and combine_stats in World
* Fixing logo path

0.10.13

---------------
* Minor coloring in tournaments
* Adding plot_stats() and stat_names to World
* Always using sync-calls when debugging
* Testing hidden time limit
* Better ufun generation. negmas.preferences.generators now have two functions:
generate_single_issue_ufuns and generate_multi_issue_ufuns. These can be
used to generate ufuns using any generator in the GENERATOR_MAP with
full control:
- can control issue, outcome and ufun names
- can control reserved values and/or rational fractions
- can control the type: numeric/string issues and linear-additive/mapping ufuns
* MappingUFun returns -inf for non-existing outcomes
* Now mapping ufuns will return 0.0 for unknown values not None
* bugfix: fixing activity level and other stat calculation
* Adding generate_multi_issue_ufuns. This generator generates a set of ufuns for a multi-issue scenario with
controllable pareto generators
* Adding plotting to Scenario
* doc: removing svg explicit setting

0.10.12

---------------
* Adding GB to the mechanisms docs
* Saving scenario figs by default in Cartesian tournaments
* Showing inheritance graphs in docs

0.10.11

---------------
* Adding TimeBasedOfferingStrategy
* bugfix: Incorrect scenario names sometimes. Caused by updating the same scenario object in multiple consecutive runs specially when running serial tournaments.
* feature: Negotiator logs in mechanisms

- Negotiators can use self.nmi.log_info to log information in the
mechanism that is accessible for any one who can access the mechanism.
log_warning, log_error, log_debug, log_critical are also available.
- Logs are stored as structured dicts that will be converted to data
frames. IT IS NECESSARY for all logs with the same key to have the
same EXACT keys and it is recommended for their values to have the
same type.
- Cartesian tournaments will now save these logs after the mechanism
ends if any are given and logging is enabled (i.e. path is passed to
cartesian_tournament()).

Limitations:

- You MUST pass a key (nid) to all log functions. If two different
negotiators passed the same key, these logs will be combined in a
single file. This may be too cooperative and confusing!!
- The logs are not returned in SimpleTournamentResults. If you need
to read the logs you must save logs to the HDD. This is by design
because these logs may be too large and keeping them to return them
after the tournament may consume too much memory. Currently, they
will be deleted from memory with the mechanism.

0.10.10

---------------

* bugfix: Distributing integers correctly when approximate equality is wanted
* bugfix: Caretsian tournaments not varying n_steps
* bugfix: sample_between failing on small ranges

Page 3 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.