Skip to main content Switch to mobile version easyiec 1.0 Interactive evolutionary computation with human, simulated and AI evaluators: interactive GA/ES/CMA-ES/PSO/DE, quality-diversity, preferential Bayesian optimization, LLM/VLM judges, panels, risk-controlled human escalation, and tools to validate, benchmark and visualize interactive optimization — the successor of the EASY-IEC MATLAB toolbox.
pip install easyiec Copy PIP instructions
easyiec optimizes things whose quality is judged rather than computed — a controller response, a fermentation profile, a photo grading, a fractal, a colour palette, a melody, a slogan. In interactive evolutionary computation (IEC) the fitness function of an evolutionary algorithm is replaced by an evaluator who looks at the candidates and chooses (Takagi, 2001). The package is the Python successor of the EASY-IEC MATLAB toolbox (Madár, Abonyi and Szeifert, Comput. Chem. Eng. 29(7), 2005), extended in three directions:
Algorithms — interactive GA, self-adaptive ES (the EASY-IEC algorithm), CMA-ES, interactive PSO (Madár et al., 2005), pairwise differential evolution, the Blind Watchmaker, interactive MAP-Elites, novelty-filtered IEC, reference-point NSGA-II, preferential Bayesian optimization, sequential line search and sequential gallery, surrogate-assisted fatigue reduction, verbal steering with fuzzy linguistic hedges and Lamarckian direct manipulation.
Evaluators — people (Jupyter/Colab gallery, desktop matplotlib gallery, console), simulated users with known ground truth (Thurstone/BTL noise, fatigue, lapses, position bias, drift), metric evaluators, LLM and VLM judges (Claude, OpenAI-compatible, Gemini, Ollama; offline mock), persona panels and hybrid evaluation that escalates uncertain queries to a person under a calibrated risk-control policy.
Evaluation science — agreement statistics, judge diagnostics (swap test, transitivity, self-consistency, calibration), psychometric audits of AI judges, the alternative annotator test, prediction-powered inference, factorial benchmarks with simulated users, statistical comparison and some twenty visualizations of IEC processes, plus HTML session reports.
pip install easyiec pip install "easyiec[all]" # + ipywidgets, scikit-learn, scikit-image Python ≥ 3.10; depends on numpy, scipy, matplotlib, pandas, networkx and Pillow. The LLM clients use only the standard library.
import easyiec as ei from easyiec.problems import JuliaSet, BeerFermentation from easyiec.strategies import InteractiveGA, InteractiveCMAES # 1) you are the evaluator (Jupyter, JupyterLab, VS Code, Colab) ei.ui.JupyterGallery(JuliaSet(), InteractiveGA(pop_size=9)) # 2) a simulated user with a hidden target: reproducible benchmarks with ground truth p = BeerFermentation() user = ei.SimulatedUser(p, target="default", noise=0.05, fatigue=0.5, seed=1) res = ei.run(p, InteractiveCMAES(), user, generations=20, seed=1) print(res.best_true, p.describe(res.best.genome)) # 3) an LLM/VLM judge (Claude), debiased by presentation-order swaps from easyiec.evaluators import AnthropicClient, LLMJudge judge = LLMJudge(AnthropicClient("claude-sonnet-5-5"), JuliaSet(), goal="an intricate, glowing spiral in cool colours") res = ei.run(JuliaSet(), InteractiveGA(), judge, generations=10) # 4) the AI answers, people are asked only when the AI is unsure from easyiec.evaluators import EscalationEvaluator, HumanProxy hybrid = EscalationEvaluator(judge, HumanProxy(), policy="rate", target_rate=0.25) # policy="risk" with calibration labels keeps the AI-only disagreement below a tolerance ei.ui.JupyterGallery(JuliaSet(), InteractiveGA(), evaluator=hybrid) Validate a judge before trusting it:
from easyiec.validation import audit_judge, psychometric_audit audit = audit_judge(judge, JuliaSet(), goal="Choose the more beautiful fractal.") psy = psychometric_audit(judge, JuliaSet(), "brightness", goal="Choose the brighter image.") ei.viz.plot_psychometric(psy) Documentation and book
Documentation, example gallery and API reference: https://complexsystemsintelligence.github.io/easyiec
The companion book, Interactive Evolutionary Computation in Python: Human, Simulated and AI Evaluators — The easyiec toolbox (CC BY 4.0): PDF, web edition
If you use easyiec, please cite the software (see CITATION.cff) and the original publications of the methods you use; the EASY-IEC method itself:
Madár, J., Abonyi, J., Szeifert, F. (2005). Interactive evolutionary computation in process engineering. Computers & Chemical Engineering, 29(7), 1591–1597. https://doi.org/10.1016/j.compchemeng.2004.12.009
The development was supported by the National Research, Development and Innovation Office of Hungary (NKFIH, OTKA 143482).
MIT (software); the book is CC BY 4.0.
Released: Nov 29, 2026
Author: János Abonyi
Both files in this release have provenance metadata.
View provenance details
MIT View SPDX License List
all book dev docs ml notebook test
CMA-ES IEC LLM-as-a-judge evolution strategies evolutionary art human-in-the-loop optimization inter-rater agreement interactive evolutionary computation particle swarm preferential Bayesian optimization process engineering simulated users user fatigue vision language models
Development Status 5 - Production/Stable
Intended Audience Education
License OSI Approved :: MIT License
Operating System OS Independent
Programming Language Python :: 3
Topic Artistic Software
Scientific/Engineering
Scientific/Engineering :: Artificial Intelligence
Scientific/Engineering :: Visualization
Release files for easyiec 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 398.8 kB
Release files / easyiec-1.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Release files / easyiec-1.0-py3-none-any.whl
Security for easyiec 1.0
Both files in this release have been uploaded with provenance metadata.
With provenance easyiec-1.0.tar.gz Nov 29, 2026
With provenance easyiec-1.0-py3-none-any.whl Nov 29, 2026
Attestation for easyiec-1.0.tar.gz
Attestation for easyiec-1.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 29, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











