Closed maennchen closed 1 week ago
@billylanchantin Thanks for the feedback. All should be fixed / applied.
I have marked this PR as draft since I have no intention of fixing the bugs it uncovers and also not to define more meaningful tests based on it. (somebody more familiar with the internals will do a lot better job at that)
I'll however happily get the generator ready so that someone else can use it to root out all the bugs.
@maennchen The plan of keeping this as a draft for now makes sense to me.
Related: above, you said we (the team) could take over the PR and start making tests based on what we find. Would you mind if I do that? I've made some tweaks to the generator locally and I've already found out a few things.
Findings so far:
DF.new
(woo!).DF.new
call, it's the dbg
call that panics.Mind if I push my changes?
@billylanchantin Feel free to take over 😊
We should probably also property test the data export formats. #1011 manifests for me both when inspecting as well as when storing as a json or parquet file.
Btw, I think we should have property based testing disabled altogether by default, and we enable it on CI only. There is no need to spend CPU cycles on properties for most of the tests runs that the core team and contributors do. They are very valuable though on CI.
@josevalim I agree. I actually thought it was already like that but it's not working. Will fix.
@josevalim All is good. Turns out we were excluding property tests outside of CI all along.
Related: TIL that if you use the file:line
syntax when running tests, your other --include
/--exclude
flags are ignored...
Follow up from https://github.com/elixir-explorer/explorer/issues/1011#issuecomment-2444709547
Property Tests for
DataFrame.new
seem to be helpful. I already found a panic with it and lots of other issues.This PR is not finished / ready to merge. I just wanted to give it a go.
Feel free to:
Example uncovered issue: