Skip to content

Releases

v0.2.2 — NaN and constraint hardening, TypeSafe host pin

Choose a tag to compare

@jkbennitt jkbennitt released this 29 Nov 06:40
d092078

Patch cut of merged #16, #17, and #19 plus the Unreleased TypeSafe / Jev notes (#20). Merge commit d0920784. Reviewed head bc5eb0f1.

GitHub Packages only (no nuget.org). PackageId Unsga3 0.2.2. Tag v0.2.2 matches Directory.Build.props <Version>0.2.2</Version>, so publish-github-packages can run. Published 15-seed IGD and Wilcoxon numbers are unchanged.

Full notes: CHANGELOG

[0.2.2] — 2026-11-29

NaN and constraint hardening, selection niche-count fixes, and an optional TypeSafe pass whose API key stays on api.typesafe.ai. Defaults stay unconstrained RankNicheDistance, independent mating, and single-layer DasDennis. GitHub Packages is still the only publish target. No new IGD or Wilcoxon table.

Added

  • Optional TypeSafe / Jev System One pass (tools/typesafe-pareto) for Score + Choice judgments over a small Pareto candidate sample. Additive semantic layer — does not replace NSGA-III / U-NSGA-III objectives. Live calls only when TYPESAFE_API_KEY is set; CI uses mocks. Metrics append to metrics/typesafe-runs.jsonl.
  • TypeSafe API key host pin (#16, #17). Live calls accept only api.typesafe.ai. Other base URLs are rejected. The scheme must be HTTPS, the port must be omitted or 443, and a trailing-dot host is rejected. Redirects that leave that allowlist are refused, so Authorization is not forwarded. The SDK client is constructed with httpx2.Client(follow_redirects=False).
  • OptimizationResult.FeasibleNonDominatedSolutions: the strictly feasible non-dominated set, empty when the final population has no feasible member. Individual.Evaluated is public.
  • tests/Unsga3.Tests/Unit/OperatorAndHardeningTests.cs with 16 [Fact] methods.

Changed

  • Docs and XML comments describe initialPopulation and hybrid loops in generic terms (domain-adapter warm-start / grid-seed). No product-repo names.
  • NonDominatedSort compares pairs in an upper-triangular loop. SortReadOnly returns fronts without writing Individual.Rank. OptimizationResult uses it, so constructing a result does not mutate ranks in FinalPopulation.
  • Splitting-front survival pre-buckets candidates by reference index. ReferencePointManager.Associate compares squared perpendicular distance.
  • CI builds with -p:TreatWarningsAsErrors=true and smokes samples/BasicUsage. The publish workflow's test step passes the same warning flag, and it rejects a v* tag whose version is not Directory.Build.props <Version>. The package includes .snupkg symbols.
  • Oracle scripts: analyze_dtlz2_gap.py reads the current {tournament}_{mating}_F.csv names, compare_results.py prints n/a when IGD is null, and run_multiseed_wilcoxon.py prefers full-precision IGD from _meta.json.
  • Removed tests/Unsga3.Tests/Equivalence/EquivalencePlaceholderTests.cs.

Fixed

  • NaN objective coordinates are ordered strictly worse than finite and ±Inf values in Pareto comparison.
  • RefreshConstraintViolation maps a NaN constraint to +Inf violation. EvaluateAll always refreshes constraint violation and sets Evaluated.
  • SBX and polynomial mutation reject non-finite probabilities and distribution indices. Probability ≤ 0 returns before the RNG draw, so a zero probability cannot fire when NextDouble() is 0.
  • On a mixed feasible/infeasible pool, PrepareForSelection counts niches from feasible members only and leaves constraint-violation fillers unassociated. All-NaN objectives stay unassociated (-1, perpendicular distance +Inf).
  • ZDT requires nVariables ≥ 2, Sphere and Ackley require nVariables ≥ 1, and Rosenbrock requires nVariables ≥ 2, checked before bounds allocation. DTLZ and C1-DTLZ1 check nObjectives ≥ 2 and k ≥ 1 before bounds allocation; DTLZ4 also rejects a non-finite or non-positive alpha. ReferenceDirections.Count and PartitionsForMinimumDirections reject non-positive inputs, and the partition search no longer stops at a silent p < 100 cap. RandomProvider.NextDouble(min, max) requires finite bounds and uses an overflow-safe interpolation when the span is infinite. NextExcept rejects n ≤ 0 and draws normally when exclude is out of range. Hypervolume2D rejects a null objective vector and any vector whose length is not 2.

v0.2.1 — multi-target, GD+, DocFX, Wilcoxon refresh

Choose a tag to compare

@jkbennitt jkbennitt released this 01 Oct 05:54
ef33c08

Patch cut after the 0.2 finish on main (#14, version PR #15).

  • net8.0 + net10.0 multi-target
  • Ishibuchi GD+ (GenerationalDistancePlus)
  • DocFX API docs + api-docs CI
  • Wilcoxon table refreshed with matched DTLZ2 n_var=12
  • Constrained + mating opt-in tables recorded under 0.2.1 notes

GitHub Packages only (no nuget.org). PackageId Unsga3 0.2.1.

v0.2.0 — mating + constraints + two-layer refs

Choose a tag to compare

@jkbennitt jkbennitt released this 30 Sep 08:09
ef30350

What's changed

Mating and constraints plus two-layer references (#10, #11). Defaults stay unconstrained RankNicheDistance, independent mating, and single-layer DasDennis. No new IGD or Wilcoxon table.

Added

  • Opt-in MatingPoolMode.TwoShuffledPasses and TournamentMode.Algorithm2
  • ReferenceDirections.TwoLayerDasDennis (single-layer default)
  • Constrained problems OSY, TNK, C1-DTLZ1 (tests only; no IGD table)

Fixed / changed

  • Odd-N last parent now enters SBX
  • Feasible-only niching / CV fill + feasible hyperplane (pymoo filter_infeasible)
  • Equal-CV mutual non-domination (Deb)

Full notes: CHANGELOG

NuGet

Unsga3 0.2.0 — publishing to GitHub Packages with this release (v* → publish-github-packages).

v0.1.5 — forensic honesty + edge fixes

Choose a tag to compare

@jkbennitt jkbennitt released this 22 Sep 06:10
f832c41

What's changed

Forensic audit fix wave (G1–G10): protocol honesty (DTLZ2 n_var, ZDT front definition, mating vs Algorithm 2, Wilcoxon wording), fixtures, and limited code edges (duplicate-elim attempt cap, Euclidean length check, sampler guards, checked Das–Dennis Count, tighter DTLZ2 regression bar).

Default tournament stays RankNicheDistance. No public mating-default flip.

Full notes: CHANGELOG

NuGet

Unsga3 0.1.5 — publishing to GitHub Packages with this release (v* → publish-github-packages).

v0.1.4 — ZDT2 protocol gens=250

Choose a tag to compare

@jkbennitt jkbennitt released this 19 Sep 05:49
6dd91b5

What's changed

  • ZDT2 oracle/smoke protocol: quality bar is gens=250 + PymooCompatible (docs and harness defaults). gens=100 is an early-stress snapshot, not the quality bar.
  • RankNicheDistance stays an optional unpublished Wilcoxon ZDT2 mating mode.
  • ZDT1 (100) and DTLZ2 (150) unchanged.
  • No algorithm or public API change. Matches unsga3-bend A/B honesty.

Full notes: CHANGELOG

NuGet

Unsga3 0.1.4 — publishing to nuget.org with this release.

v0.1.2 — hyperplane fix + oracle path

Choose a tag to compare

@jkbennitt jkbennitt released this 10 Aug 01:17

Highlights

  • Correct NSGA-III hyperplane normalization (DTLZ2 IGD ~5x → ~1.15x single-seed)
  • Duplicate elimination (default on)
  • pymoo-compatible tournament + mean IGD

Multi-seed (n=15)

  • ZDT1 median IGD 0.053 vs pymoo 0.070 (Unsga3 better; MWU p≈0.05)
  • DTLZ2 median IGD 0.0045 vs 0.0028 (~1.6x; same order of magnitude)

See docs/WILCOXON-RESULTS.md and docs/ORACLE-RESULTS.md.

Install

GitHub Packages: nuget.pkg.github.com/AppSprout-dev

https://github.com/AppSprout-dev/Unsga3