Skip to content

v0.3.0

Choose a tag to compare

@csteinlxbp csteinlxbp released this 03 Apr 15:33
· 152 commits to main since this release

What's New in v0.3.0

33 MCP Tools (was 18 in v0.2.0)

All math tools now use SageMath as the computation backend.

New tools:

  • Symbolic sums: symbolic_sum — finite and infinite series, products
  • Combinatorics: combinatorics_operation — binomial, permutations, combinations, partitions, factorial, Catalan, Fibonacci, Bell numbers
  • 3D Plotting: plot3d_expression — surface plots as base64 PNG
  • Probability: distribution_operation — normal, exponential, Poisson, chi-squared, Student-t, uniform, beta, gamma with PDF/CDF/quantile/sampling
  • Numeric methods: find_root — root-finding in an interval
  • Multi-plot: plot_multi_expression — overlay multiple functions
  • Vector calculus: vector_calculus_operation — gradient, divergence, curl, Laplacian
  • Graph theory: graph_operation — named graphs, chromatic number, connectivity, planarity, diameter, shortest path
  • Group theory: group_operation — symmetric, dihedral, cyclic, alternating groups with order, abelian/cyclic tests
  • Elliptic curves: elliptic_curve_operation — rank, torsion, discriminant, j-invariant, conductor
  • Coding theory: coding_theory_operation — Hamming, Reed-Solomon; length, dimension, minimum distance
  • Boolean algebra: boolean_algebra_operation — Boolean polynomial ring operations
  • Polynomial rings: polynomial_ring_operation — Groebner bases, ideal dimension/variety
  • Geometry: geometry_operation — distance, area, volume, convex hull via Polyhedron
  • Streaming: evaluate_sage_streaming — emits stdout lines as progress events

Infrastructure

  • HTTP /health endpoint for Kubernetes liveness/readiness probes
  • Disk-backed session persistence via code journal replay (SAGEMATH_MCP_PERSIST_SESSIONS, SAGEMATH_MCP_PERSIST_DIR)
  • statistics_summary switched from Python stdlib to Sage backend
  • Enriched evaluate_sage description with 14 domain examples (symbolic sums, Laplace transforms, modular arithmetic, vector calculus, root finding, recurrences)
  • Fixed release workflow: build job now installs build package, updated PyPI publish action

Testing

  • 242 unit tests at 99% branch coverage (was 150 at 97%)
  • 43 CLI integration tests across 9 math domains

Fixes

  • Release workflow build job failed with "No module named build" — fixed
  • PyPI publish action updated from v1.8.11 to release/v1
  • Removed broken GitHub Packages publish step

Full Changelog: v0.2.0...v0.3.0