herbie-fp / odyssey

A platform for exploring floating-point expressions :boat:
https://herbie-fp.github.io/odyssey/
MIT License
17 stars 0 forks source link

FPtaylor api fetch calls are not working #95

Closed parthrdesai closed 2 months ago

parthrdesai commented 2 months ago

1 2 3

When I do a fetch request for fptaylor analysis it just stays pending and doesn't end and give any response. There's the same error in the old code which was in main, so I think there's some issue with endpoint

elmisback commented 2 months ago

Linux is the only platform where FPBench/Taylor calls currently work locally out of the box. You have to run your own server for this if you want to test it. The Odyssey web demo should be working... image ...but it's not, there's some kind of CORS issue there.

elmisback commented 2 months ago

@parthrdesai were you testing this with the WSL/Linux VSCode extension?

elmisback commented 2 months ago

If you were on Mac/Windows, we can close this. I'll add an issue for the CORS error

elmisback commented 2 months ago

I confirmed that these work against a local server. I think this is a CORS error due to the FPBench server exec endpoint having fallen over. We probably need some kind of /up test against those endpoints.