Changelog
All notable changes to TFOpt are documented here. Release notes for users are in
release-notes/.
This changelog is generated from the Git history with git-cliff.
0.2.0 - 2026-11-30
Added
- Integrated tfopt into package for SLSQP, pymoo remaining
- Integrated global (nsga, etc) to tfopt - looks good
- Added summary stats and data scaling
- Added bsd v3 license, dockerfile, .toml file, Acknowldgements, code acknowledgements
- Added direct link to open file from CLI
- Add vectorized loss function flag and update default loss type
- Add configuration file for PhosKinTime settings and update population size in optrun.py
- Add LateX result generation: integrate latexit utility into main processing flow and update function calls to include output directory.
- Add TFOpt dashboard and scientific analysis interfaces
Fixed
- Minor fixes.
- Minor fixes -worked on post optimization analysis
- Added fitanalysis to tfopt - minor fixes
- Preprocessing steps cleared - minor fixes and organizing
- Result file neames fixes for tfopt and kinopt and minor fixes in io utils
- Minor fix - priting and mapping in tfopt
- Minor fix - plot params, objfunc, method
- Fixed typo in plotout.py
- Minor fixes - testing in plotly object
- Preprocessing and data reading fixed - silly processing mistake
- Fixes and adding support for network via cytoscape
- Display the missing kinases in output before optimization in kinopt && working on some fixes - tfopt
- Fix LaTeX formatting in README.md: replace parentheses with dollar signs for inline math expressions
- Fix audit findings: packaging, docs, changelog, CLI, logconf notes
- Fix feasible fit ranking and verify original-space convergence
- Fix T6/T6c: TF base series from the protein row, aligned by actual time
- An installed package fails on a run because the loader read the clone's config.toml
- Pip install tfopt lacks Jinja2, so a default run fails writing the LaTeX tables
Changed
- Labels corrected - mRNA is being estimated via TF (Prtoein Group/ GeneID) and its Psites - okay
- Labels in main corrected
- Minor changes in plotting display.
- Vectorized residuals over time in tfopt now added.
- Switched to trust-constr in tfopt
- Minor edits - trying out Tikhonov regularization in tfopt loss function
- Workon - tfopt
- Moved starting code to legacy/
- Typo fix
- Removed clipping of predicted expression and added deployment configuration file
- Skip psite values that don't start with S_, Y_, or T_ in iodata.py
- Refactor logging statements and improve data filtering in main processing files
- Refactor output logging in main.py and related files: replace print statements with logger.info for better logging consistency; adjust njit decorator in minfn.py and randmod.py to disable parallel execution.
- Enable parallel execution in njit decorator for objective function in minfn.py
- Simplify transformations by removing unnecessary power calculations and update constraints for beta parameter handling
- Refactor optimization workflows: add multi-start support, enhance constraint handling, and improve result export.
- Refactor configuration handling: integrate
config_loader, remove hardcoded paths, simplify constants, and enhance CLI default handling. - Refactor optimization pipeline: replace NSGA-II with UNSGA-III, add Das-Dennis partition heuristic, refactor objective evaluation with Numba, enhance population evaluation, and update loss configuration.
- Refactor multi-objective evaluation: enhance type annotations, accelerate evaluation with threading, optimize parameter handling, and streamline class initialization.
- Update optimization pipeline: replace
DefaultMultiObjectiveTerminationwithget_termination, adjust config forresults_kinoptpaths, switch optimizer to SMSEMOA, and update ODE model todistmod. - Refactor result directory structure and enhance
plotouthandling of CSV columns for robustness and compatibility. - Refactor and document: enhance type annotations and docstrings across optimization and plotting modules, streamline multistart fitting logic, clarify heuristic for Das-Dennis partitions, and improve readability in initialization and constraint handling functions.
- (phoskintime#43) Migrate
global_modeltonetworkmodelnamespace and update imports and paths project-wide. Adjust asset paths, rename files, and update documentation for consistency. - Refactor TFOpt into standalone JAXopt local optimization package
- Accept only success with constraint residual <= 1e-10
- Configurable seed for the starting values (start_seed)
- Copy the results workbook to ode_data_dir only on request, never overwriting
- Ignore the docs build cache and linter caches
- Importing TFOpt creates no file or folder (I3)
- No silent fallbacks: raise on a missing base series, log dropped targets (I4)
- Compile the feasible-set projection once per geometry (I1)
- Clip (default) | none | softplus (I2, #10)
- KKT diagnostics with multipliers: tfopt.optimality.kkt_diagnostics (I5, #13)
- Exact-constraint SciPy SLSQP driver with analytic JAX gradients; parallel starts
- Make @bibymaths the sole code owner
- No configuration read at import; settings resolved on use (KinOpt 0.11 parity)
- Full name Philomina Lillie Normann; ORCIDs in CITATION.cff
- Pyproject.toml, tfopt.version, tfopt.processing (KinOpt 0.11 parity)
- Library API tfopt.api and the tfopt command (KinOpt 0.11 parity)
- No built-in time grids: the RNA and MS grids come only from the configuration
- Absorb scripts/ into the tfopt command and remove scripts/ (KinOpt 0.11 parity)
- Packaging and dependencies for 0.2.0: BSD-3-Clause, PyArrow, publish environment
- Run bundles: tfopt.bundle and the contract tfopt/1.0 (KinOpt 0.11 parity)
- The guided GUI tfopt-app replaces the Streamlit dashboard (KinOpt 0.11 parity)
- Clean exit for the console commands (KinOpt 0.11.0 parity)
- Warn when no start passes the acceptance rule (KinOpt 0.11.0 parity)
- Prediction check: flag targets with a negative summed prediction (KinOpt 0.11.0 parity)
- Tfopt-app --config, and the prediction check in the results (KinOpt 0.11.0 parity)
Removed
- Remove
VECTORIZED_LOSS_FUNCTION: delete unused constant and related comments from codebase.
Performance
- Optimize Numba JIT compilation: enable caching for objective function and set matplotlib backend to 'Agg' for plotting
Documentation
- Added docstrings - tfopt.evol, utils
- Added docstrings - tfopt.local - Completed v.0.1.0
- Updated metadata, README's of tfopt and its modules
- Update documentation paths in mkdocs.yml and CHANGELOG.md; enhance plotting function aesthetics in plotout.py
- Update mkdocs.yml and README.md: enhance documentation structure, add markdown extensions, and clarify usage instructions
- Update mkdocs.yml and README.md: correct comments and improve mathematical notation for clarity
- Enhance documentation: update parameter descriptions to use 'Args' and 'Returns' format across multiple files
- Enhance documentation: update function return descriptions and add missing 'Args' sections across multiple files
- Record the adopted T6 result (fixed run) without interpretation
- KinOpt 0.11's Zensical layout and style with TFOpt content
Tests
- Tested on server for SLSQP
- Tested on server for SLSQP - 100 iterations - 30 minutes
- Test that Σα and Σβ are exact after optimisation (residual ≤ 1e-10)
- CODEOWNERS must name the maintainer @bibymaths; credit contributors in the metadata
- The docs nav includes Third-party licences and Terms of use
Build and maintenance
- Enhance analysis and plotting functions: add upper bound parameter, update loss type defaults, and improve legend formatting
- Add non-psite time series to K_array and clean up commented code in construct.py; adjust docstring formatting in filter.py
- Format YAML and Python files: standardize spacing and remove unnecessary newlines for improved readability
- Release tooling for 0.2.0, as KinOpt: workflows, check-release, metadata, notes
- release: Changelog for 0.2.0
- release: Changelog for 0.2.0 (regenerated)
- Release notes 0.2.0: prediction check, no-accepted warning, app --config, clean exit
- release: Changelog for 0.2.0 (regenerated)