-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two identical report runs can give different results #557
Comments
So, I was able to confirm that bblfsh behaves differently. both logs files bblfsh_logs.zip @vmarkovtsev suggests to hash bblfsh output and save it to compare between the reports. That what I am going to do next. |
@dennwc @creachadair this makes our life much more complex ^ |
Unfortunately, I haven't a good way to reproduce weird bblfsh behavior, in case you wonder how to reproduce the bug. But I can show my experiment scripts to reproduce these logs: export NUM=20190129
docker rm -f bblfshd_style_analyzer_$NUM report_gen_$NUM
docker run -d --rm --name bblfshd_style_analyzer_$NUM --privileged bblfsh/bblfshd:v2.11.0
docker exec bblfshd_style_analyzer_$NUM bblfshctl driver install javascript docker://bblfsh/javascript-driver:v1.2.0
docker run -it --link bblfshd_style_analyzer_$NUM -e LOOKOUT_BBLFSHD=ipv4://bblfshd_style_analyzer_$NUM:9432 --entrypoint bash -v /storage/konstantin/lookout-workdir/reports_release_$NUM:/reports --name report_gen_$NUM -e BBLFSH srcd/style-analyzer:github inside docker image
So If I run these scripts twice I can get different results. I see that the different number of UAST Nodes was collected for some repos. The same I see in bblfsh logs: some files are failed to be parsed in one experiment but not in another. I think it does not help a lot but that is all I have for now. Any ideas what can be wrong are appreciated. |
My investigation output mostly described here: https://github.com/bblfsh/bblfshd/issues/236 TL;DR:
|
It was accidentally closed |
Ancestor issue: #511
Commit: fdf2a03
Report 1: quality_report_20190125_fdf2a03.zip
Report 2: quality_report_2_fdf2a03.zip
Main differences appeared for several random repositories and affect
precision
as well asfull_support
which supposed to be constant anyway.Main suspects:
full_support
number.The text was updated successfully, but these errors were encountered: