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.2.1.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

math_spec_mapping-0.2.1-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: math_spec_mapping-0.2.1.tar.gz
  • Upload date:
  • Size: 24.4 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.2.1.tar.gz
Algorithm Hash digest
SHA256 ad67bfb01ac29e0f97c21f1c238352553cba40c4a19cca22cf05cd9cbf69568c
MD5 f24604b71fd7040b2dd9ca4a535668ac
BLAKE2b-256 d896f201c66f65103cf7d52cccddc14413c6f4499c782ab16a038ac84edf2bbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for math_spec_mapping-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1914a9a6720cf412db78ecf426bccee1aaa72e02f2b52c528c3d9b907fe2eeb7
MD5 cab01de0abe0963c8c95fc6a0820dc3f
BLAKE2b-256 e9d6daf68c9900bdc45ca697f7fc6a7ccd181cc561815dafe2f35c4480897ebf

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