haesleinhuepf / human-eval-bia

Benchmarking Large Language Models for Bio-Image Analysis Code Generation
MIT License
19 stars 11 forks source link

add test for circle fitting? #35

Closed tischi closed 5 months ago

tischi commented 5 months ago

input: collection of 2d points output: center and radius of fitted circle

interesting? I needed this recently.

tischi commented 5 months ago

Maybe a bit tricky, because one would need to be quite specifc about how the input and outputs are represented to be able to write a test for this?

If there's a similar test that one could use as a template please point me to it.

haesleinhuepf commented 5 months ago

with simple test data it should be possible. In this test-case I was using points to extract a surface. To test the algorithm, I'm evaluating the surface area only: https://github.com/haesleinhuepf/human-eval-bia/blob/main/test_cases/extract_surface_measure_area.ipynb