geodesic_acceleration is documented as (metric, coords) but requires (Christoffel array, velocity), so documented calls return unevaluated
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Trace the geodesic_acceleration binding and kernel argument handling, using the documented schwarzschild_metric call and the working Christoffel-array example as reproductions. Locate the relevant Python binding and Rust computation entry points, then either compute Christoffel symbols internally from (metric, coords) or update the public docstring and parameter names to match (christoffel, velocity). Add or update a test showing the documented call evaluates without an error.
Written by the indexing model from the issue text.
Description
geodesic_acceleration is documented as taking (metric, coords), but the kernel requires (Christoffel array, velocity) — so every documented call is silently returned unevaluated.
import rssn
s = rssn.Session()
a = s.compute("geodesic_acceleration(schwarzschild_metric(1, list(t,r,theta,phi)), "
"list(t,r,theta,phi))")
a.text # the call, returned verbatim
a.reduced # False
a.error # None
a.diagnostic_codes # ('mismatch', 'non_dimensionless') <- incidental, not the real problem
The docstring says:
geodesic_acceleration(metric, coords): geodesic equation acceleration vector-Gamma^mu_{alpha beta} u^alpha u^betaformetricandcoords
The kernel actually reads args[0] as a 3-deep Christoffel array Gamma[mu][alpha][beta] and args[1] as the velocity vector u:
s.compute("geodesic_acceleration(list(list(list(0,0),list(0,1)), list(list(0,0),list(0,0))), "
"list(2,3))").text
# 'list(-9, 0)' = -Gamma^0_{11} u^1 u^1 <- works
So the function is usable, but only by passing a different pair of arguments than the documentation describes — and the documented call fails silently, with .error is None, so nothing points at the argument mismatch. The two diagnostic_codes that do appear (mismatch, non_dimensionless) come from the dimension layer and do not say "this is not a metric".
Expected: either accept (metric, coords) and compute the Christoffel symbols internally (which is what the signature promises, and what a caller cannot easily do themselves), or update the docstring and parameter names to (christoffel, velocity).
rssn 0.3.0, Python binding, Windows x86_64.
- Dominant language
- Rust
- Stars
- 36
- Forks
- 3
- Avg merge
- 18h 51m
- Merged PRs (30d)
- 18
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Apich-Organization/rssn
-
area/algebra good first issue help wanted kind/contract severity/4-minor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Apich-Organization/rssn#293 ·
Maintainers usually reply within 1 day
-
area/linear-algebra good first issue help wanted kind/wrong-result severity/4-minor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Apich-Organization/rssn#277 ·
Maintainers usually reply within 1 day
-
area/linear-algebra good first issue help wanted kind/doc-mismatch severity/5-trivial
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Apich-Organization/rssn#276 ·
Maintainers usually reply within 1 day
-
area/number-theory good first issue help wanted kind/contract severity/4-minor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Apich-Organization/rssn#269 ·
Maintainers usually reply within 1 day
-
area/statistics help wanted kind/wrong-result severity/2-critical
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Apich-Organization/rssn#263 ·
Maintainers usually reply within 1 day
All issues in Apich-Organization/rssn
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
thisnick/agent-wechat#908 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
FortoGraphy/prism-download-manager#242 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
aws/aws-emulator#727 ·