-
Notifications
You must be signed in to change notification settings - Fork 14
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
added AQUA.jl to Decapodes #216
Conversation
@lukem12345 Is the |
Removed Artifacts (since moved to CombSpaces) and commented out coordinates.jl (should be moved to CombSpaces)
I had to remove the Catlab only import of compile but I feel like it was worth it since it means we slim down a main dependency to a much smaller package.
See #217 You can update the SW examples by following the pattern I set forth in the recent navier stokes simulations |
If those SW examples are the only uses of it, then I'll just move it to be a helper file in |
This is now a helper file in examples but should ultimately be removed.
See also |
I would move it into the sw directory instead |
This reverts commit 4453b50.
This'll be reverted and is only done to avoid canceling the doc builds.
This closes #213. All Aqua tests are passing, even on CUDA. Test Summary: | Pass Total Time
CUDA | 9 9 4m06.8s
Testing Decapodes tests passed
shell> git log -1
commit c20cfb83c1866f3e465129314c53bc30738c6e75 (HEAD -> cm/aqua, origin/cm/aqua)
Author: GeorgeR227 <78235421+GeorgeR227@users.noreply.github.com>
Date: Thu May 30 14:11:50 2024 -0400
Resolve ambiguities in Decapodes |
In retrospect, it feels like it kind of defeats the point of using code quality tools, if we are just going to satisfy them by moving code out of the path that it sees. Namely, moving the coordinates code to the examples folder |
Yes, we should just live with an imperfect score on the code quality, rather than remove code that isn't high enough quality. |
Code coverage is a good example. We don't expect 100% coverage, we track the coverage ratio and make sure it isn't going down. Eventually it will go up. |
Right I agree but that wasn't my intention. The idea behind moving |
Besides, having this file around cluttered up the exports when essentially none of them were being used elsewhere. |
@jpfairbanks I agree that we should live with imperfect code coverage. @lukem12345 I see your point about affecting code coverage. I've read #217 and I agree that we should factor out @GeorgeR227 has already vocalized this, but I think the intent is to just get AQUA.jl to pass; otherwise if I have some bandwidth this week to complete #217. |
Yes there will still need to be some functionality around tangent bases that CRS does not currently offer AFAICT |
In any matter, this coordinate stuff shouldn't be in Decapodes proper. It doesn't seem to change the compilation process and is only used for initial conditions which is separate behavior. |
Also on the matter of code coverage, this file was already being test 100% I believe. Removing it is purely meant to keep Decapodes focused on the compilation aspect. This is why I also dumped over half the dependencies we used to have. |
It sounds like we need a plan for checking the tests, quality, and code coverage of functionality that does not directly affect the output of In this particular case, how about finding a suitable spot for this in CombinatorialSpaces? |
Yeah I agree but for now I think that we're at a good point, mainly since a lot of unused dependencies and exports have been removed. My thoughts also turned to CombinatorialSpaces for this but I don't want this branch held up by figuring this out since these functions really were not being used anywhere. |
All the docs are disabled here. That is just because you want to merge this before you merge #231, right? @lukem12345 are the SW sims going to fail without the coordinate stuff? |
Decapodes needs to have some resources for people who are building simulations on triangulated manifolds. So coordinate transformations, data extractions, and visualization code belongs here, unless we want to make more packages like DecapodesPlots.jl. |
What I'm hoping to do right now is slim down Decapodes as much as I reasonably can and then if we find some other functionality is good to have in base Decapodes then we can add it. |
I've disabled the docs because I don't want to deal with disabling the workflow every time the actions trigger. I was planning on adding them back in before we merge since I don't want those changes here. The plan was actually to merge #231 and then this but having this first can work. |
Don't check doc pages that are currently being built
Added AQUA.jl to test. This includes adding
aqua.jl
to test as well as removing stale exports. This does not fulfill requirements on #211