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

Uploaded Source

Built Distribution

math_spec_mapping-0.1.8-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: math_spec_mapping-0.1.8.tar.gz
  • Upload date:
  • Size: 22.2 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.8.tar.gz
Algorithm Hash digest
SHA256 c693e53a019afef54261d270a284475627cc0f1d27fbd0f2f7798a6a9c061bad
MD5 fc8c3c49402dd939ad830096396b8a95
BLAKE2b-256 6da59c13c2625f53e7fa5ec00243f59f8532d2e883b7a6c7fa7ff5e0799d2be5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for math_spec_mapping-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 aab3a274527bc4c64796e5034106fe04b5fa2cfbabd64bcf85df5d9f9dd90562
MD5 afc10bc9737d25de33c89f8f49a506f7
BLAKE2b-256 8a4872f953de042d63e4f5a659da19625543665c19600754148b64eb65bbc698

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