-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reexport Catlab functionality #44
Conversation
Added `apex` and `@relation`, `to_graphviz` from Catlab
Close #43 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #44 +/- ##
=======================================
Coverage 86.80% 86.80%
=======================================
Files 13 13
Lines 894 894
=======================================
Hits 776 776
Misses 118 118 ☔ View full report in Codecov by Sentry. |
This might be tailoring a little too close to the happy path. What about when we want to compose Decapodes with @jpfairbanks thoughts? |
I was just adding what I thought were the most often used functions. We can add some more if we want but if we start re-exporting too much then at that point it'd be better to just get the user to have Catlab. |
Added `apex` and `@relation`, `to_graphviz` from Catlab Co-authored-by: James <[email protected]>
Added `apex` and `@relation`, `to_graphviz` from Catlab Co-authored-by: James <[email protected]>
Added `apex` and `@relation`, `to_graphviz` from Catlab Co-authored-by: James <[email protected]>
* Set version to 0.1.7 * Added more exports (#44) Added `apex` and `@relation`, `to_graphviz` from Catlab Co-authored-by: James <[email protected]> * Add type rules for vectorfields * Add musical overload resolution * Take advantage of :infer in type rules * Initial attempt at rewriting Converts ACSet to a series of Symbolic terms that can be rewritten with a provided rewriter * Added proof of concept Added a short script showcasing how rewriting could be done with the `Sort` types and a reference ACSet. * Added ability to do through-op rewrites This now supports the ability for ACSet intermediate expressions to be merged into one single expression upon which rewriting rules (like dd=0) may be performed. * Added Space import * Completed full pipeline Can take ACSets to Symbolics back to ACSets * Remove metadata usage This needs to switch to use the new type system * Added DECQuantity types Also switched to using SymbolicsUtils' `substitute`. Still needs tests and code needs to be cleaned up. * Completed pipeline again Addition now works as well but rewriting seems to be janky, unrelated to this pipeline specifically I believe. * fixed bug where type-checking subtraction uses +(S1,S2), which is obsolete * George and I debugged rewriting. Incorrect type passed to resulting term meant typed rewriting would fail * Cleaning up pipeline This black boxes the intermediate symbolic expressions to the user. The user will simply submit a rewriter that will then be applied * Fixed order of inclusions * adding support for Parameters and Constants * Added tests for acset2symbolic * etc * Literals testing * parameters test passing after some debugging. * supporting Infer, better Base.nameof, better tests * Clean out-of-order vector constructions * Convert to symbolics inside merge_equations * Reduce cases of topological sort * Reify via recursive function, not lambda case * Further improvement of acset2symbolics Remove special DerivOp handling, fixed bug where multiple equations with the same variable result were being dropped, more tests to cover these cases and further clean up. * Remove extraneous tangents * Remove redundant helper functions * Pass indexed names and types directly * Removed extraneous d arg * fixing work on tumor invasion * macros which create export stmts will fail inside @testset due to JuliaLang issue #51325 * removed ghost emoji and added convenience function for rules. aqua's failing persistent tasks. * Added more tests for acset2symbolics * Fixed persistence issue Also set default form dim to 2 and allowed it to vary. * Final touches * Remove unused fuctionality --------- Co-authored-by: AlgebraicJulia Bot <[email protected]> Co-authored-by: James <[email protected]> Co-authored-by: Luke Morris <[email protected]> Co-authored-by: Matt <[email protected]>
Added
apex
from DiagrammaticEquations and@relation
,to_graphviz
from Catlab to exports. These are required to use the composition code and the visualization code.