Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

[TASK]: Stub model stratification API endpoint #12

Open
bencodrington opened this issue Nov 1, 2022 · 0 comments
Open

[TASK]: Stub model stratification API endpoint #12

bencodrington opened this issue Nov 1, 2022 · 0 comments
Assignees

Comments

@bencodrington
Copy link
Contributor

Description
Create an endpoint to solidify the proposed API for stratifying two models in Petri Net form.
Should not rely on any integration with Catlab or TA2 performers.

The input payload should include:

  • modelA: a JSON-serialized petri net
  • modelB: a JSON-serialized petri net
  • typing information
  • potentially other inputs

This proposed list of inputs will become more fleshed out as we make progress on #6.

Behaviour and return value
Unlike the equivalent ticket for composition, stratification is non-trivial to implement, so the stub will be more barebones.

For now, simply return a hardcoded JSON-serialized petri net, created by stratifying two simple models (like SIR and Q-NotQ) by hand.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants