• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

XENONnT / appletree / 28766627768
88%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 04:01AM UTC
Jobs 2
Files 29
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jul 2026 03:53AM UTC coverage: 87.325% (+1.0%) from 86.302%
28766627768

push

github

web-flow
Add bilinear (2-D) and trilinear (3-D) LERP interpolators for regbin maps (#223)

* Add bilinear (2-D) and trilinear (3-D) LERP interpolators for regbin maps

Adds Map(method="LERP") support for 2-D and 3-D regular-binning maps.
Previously only IDW and NN were registered; LERP was 1-D only.

- appletree/interpolation.py: two new functions, both wrapped with @jit
    * map_interpolator_regular_binning_bilinear_2d
    * map_interpolator_regular_binning_trilinear_3d
  Each locates the lower-corner cell, blends sequentially along each axis,
  and clips corner indices so out-of-box queries snap to the nearest edge.

- appletree/config.py: register the new functions in
  Map._REGBIN_INTERPOLATORS under (2, "LERP") and (3, "LERP").

- tests/test_lerp_2d_3d.py: 8 new unit tests covering
    * exact reproduction of any linear function (the defining property of LERP)
    * exact value at every grid corner
    * cell-center value equals 4-corner / 8-corner mean
    * out-of-box clipping doesn't crash
    * LERP and IDW agree at corner points

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

44 of 44 new or added lines in 1 file covered. (100.0%)

2990 of 3424 relevant lines covered (87.32%)

1.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28766627768.1 06 Jul 2026 04:01AM UTC 29
87.32
GitHub Action Run
2 28766627768.2 06 Jul 2026 04:03AM UTC 29
87.32
GitHub Action Run
Source Files on build 28766627768
  • Tree
  • List 29
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6c5ab18c on github
  • Prev Build on master (#28765648042)
  • Next Build on master (#28778007746)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc