Skip to main content

A library for easy mapping of mathematical specifications.

Project description

MSML

What is the Mathematical Specification Mapping Library (MSML)?

MSML is a library for standardizing the creation of mathematical specifications as JSON objects as well as aiding in the automation of report and visualization creation from these standardized JSON.

Why MSML?

Through lived experience of writing specs, it was discovered that the process can be very difficult. It is especially tough when coordinating between groups of stakeholders. For example, if a variable name that is referenced in multiple charts and pieces of the spec is changed, someone needs to go through to both find and revise the name.

As well, there are times when you want a fully zoomed out view, and other times where you want a view on only a specific few pieces of the system. Without MSML, one would have to either duplicate work to show the system in two ways, or decide which way is the better representation. MSML allows for on the fly writing of reports multiple different ways depending on what is important to highlight.

What are some of the solutions offered?

  • Automation: Automate writing of a specification
  • Standardization: Ensure standardization across teams working to spec out a system
  • Flexibility: Allow for creating views on the fly and in multiple ways depending on what stakeholders find important
  • Trackable: Keep a repository of a JSON file to track changes to the spec with the same enhancements git provides for projects already

How does MSML work?

graph TD
A[JSON Object \n\n Each spec has a repo for tracking changes \n Must conform to the json specification \n Defines all aspects of the spec including blocks, spaces and actions] -->B[MSML Object \n\n JSON file and parsed, with validations and mappings along the way \n Can show different views on the fly]
    B --> C[Report Outputs \n\n Automatically build reports for the full spec or subviews \n Example: all blocks with an effect on variable XYZ]

Canonical Examples

Dummy/Starter Repository Root Finding Simulation

Comparison of Canonical Example Features

Feature Dummy Root Finding
Action Transmission Channels X X
Stack Block X X
Parallel Block X
Split Block
Boundary Actions X
Control Actions X X
Entities X
Mechanisms X X
Parameters X X
Policies X X
Spaces X X
State X X
Stateful Metrics
State Update Transmission Channels X X
Reports X X

Other Related Repositories

GDS-MSML-cadCAD Repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

math_spec_mapping-0.1.6.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

math_spec_mapping-0.1.6-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file math_spec_mapping-0.1.6.tar.gz.

File metadata

  • Download URL: math_spec_mapping-0.1.6.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for math_spec_mapping-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f263a2c9a93de11fd4ea6a13620f6af1018f3eee8b0bbd0a3f0006bc9d6f3279
MD5 8a11d1371b7881b1dba228450ee14e51
BLAKE2b-256 b4c32f5c993cb38ff17b7f42b6ef812913570221db6530852800d1855c1dd5ce

See more details on using hashes here.

File details

Details for the file math_spec_mapping-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for math_spec_mapping-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 70aa48963da4fbd8281047a5bc9b44fddbed4bf143b801bc5540ee99282e1fb9
MD5 2db39648648f316ec36c3861c95877b9
BLAKE2b-256 1ed6206318997cba47056fc8d6a62775e6d188db1188ba599071bc9df8141ad5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page