try pkg.edit.fun - #30
Conversation
|
That would be much simpler yes. |
|
yes!! for current, maybe use the files in src/* (not src/wrapper-versions/current/*) ? or would we need both? |
|
one thing I need your help with is the C++ wrapper code. |
|
I added a shell script for testing each wrapper version that should checkout ponca version then copy the wrapper files to src/ then compile and run a test. this works for each version except PoncaV2xalpha2 which gives a floating point exception after a successful compile—is that expected? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
No obvious timing issues in HEAD=master
|
|
ok noted. |
|
how should I name the folder containing the wrapper to master ? |
|
The wrapper for v2alpha3 should also compile with the current master. |
|
CI fails on something else now, the wrapper seems fine. |
|
Current tests in this branch only have v1.0 was faster than others in that previous run for the asoCurvatureEstimation test, which uses |
|
CI says https://github.com/poncateam/poncatime/actions/runs/27576962559/job/81527677041 |
|
running git bisect on my ubuntu laptop identified poncateam/ponca@54db55b as the first commit with a slowdown in the asoCurvatureEstimation test: If it was a bug fix, probably worth keeping, even if it makes the code a bit slower. |
|
Please merge this PR since everything seems to work now? |
|
The test are still failing, no ? |
|
error is api rate limit exceeded, which I do not think we can fix. |
|
But what the purpose of these steps of the CI ? |
|
we have to hit the github api for the pull request comments |



Closes #29
Closes #22
hi @nmellado
This would be an alternative to the meta-repo idea.
The idea would be to provide a wrapper + R pkg test code which could hopefully work with any historical ponca version. (not only manually defined tags)
There are different wrapper codes in a new directory, src/wrapper-versions
each directory has a different version of curvatureEstimation.cpp and .h
Assume we want to test an arbitrary ponca version.
We have defined a function for editing the package, prior to installation.
In this function we try each of the wrappers, and we keep the first wrapper that compiles with the selected ponca version.
I think this would allow us to git bisect performance regressions in ponca. #28
And it seems simpler than the meta-repo.
and less maintenance.
I would have to modify atime to do checkout of the ponca submodule instead of this ponca repo, but that seems reasonable.
What do you think @nmellado ?