i) Even if I configure that I need 5 completion proposals, the number of recommendations is frequently less
than five. Is there any design decision behind this?. My guess is that for the other recommendations the relevance value is less than the threshold. Am I correct?
It depends on which level you plug-in. On the lower level (JayesCallModel there is no threshold. On the Completion Engine level there is one (by default 1% or 10% - pls check the preferences). In addition, sometimes there might be less than 5 methods actually used by clients (although hundreds of methods may exist). In these cases, we can only recommend what we have seen. There would be no point to recommend methods with a likelihood of zero.
ii) Right now I am using a model available in this file: jre-1.0.0-call.zip. My understanding is that this model helps to calculate method call for jdk (like swing or awt).
Yes, although for swing and awt we don't have many examples for. For your paper: if you let us know which types you evaluate, we can provide you with some numbers like how many examples we learned this model from etc.).
I want to use eclipse as a subject system where I plan to consider method calls to SWT. How can I obtain the corresponding model?.
You can use the ModelRepository API for that. But I guess downloading the file once may work well enough. For SWT you may use this URL:
Please note that next week we'll publish the official 2.0.0 models (hopefully around Tuesday if all goes well)
I will share my code and results with you, but I need a few days more to restructure the code and collect the complete results.
We'll be glad to review and reproduce your results to support your research claims. If you want us to do so, I'd kindly ask to create an easy-to-use setup to run your tool from within Eclipse (e.g., a single main routine or a junit test suite to start from within Eclipse would be good enough - something along these lines) ;-)
Best,
Marcel
Hi Marcel,
Good day. I am happy to inform you that I have successfully created code completion queries and collect the results for a few source files without any exception/problem. I have used AstDefUseFinder class and write some other codes to complete the task. I will conduct my experiment now on a large system now. Can you please take a look on the following questions:
i) Even if I configure that I need 5 completion proposals, the number of recommendations is frequently less
than five. Is there any design decision behind this?. My guess is that for the other recommendations the relevance value is less than the threshold. Am I correct?
ii) Right now I am using a model available in this file: jre-1.0.0-call.zip. My understanding is that this model helps to calculate method call for jdk (like swing or awt). I want to use eclipse as a subject system where I plan to consider method calls to SWT. How can I obtain the corresponding model?. Can you please help me in this regard.
I will share my code and results with you, but I need a few days more to restructure the code and collect the complete results. Please let me know your comments/suggestion.
Thank you again for your kind help and support.
-Muhammad Asaduzzaman
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/recommenders-dev