droidbot icon indicating copy to clipboard operation
droidbot copied to clipboard

Is there a way to stop Droidbot from generating the "Force Stop" operation

Open HongheZ opened this issue 3 years ago • 2 comments

Hello! May I ask another question? When I used Droidbot to generate random operation, the "Force Stop" operation event generated by Droidbot would affect the experimental results. Therefore, is there a way to stop Droidbot from generating the "Force Stop" operation? Or could you please tell me which part of the program can change the settings related to operation generation of the Droidbot? Thanks!

HongheZ avatar Jun 14 '22 01:06 HongheZ

Sure. The input generation policies are mostly implemented in https://github.com/honeynet/droidbot/blob/master/droidbot/input_policy.py file. By searching for "get_stop_intent" in the file, you will find the "stop" operations. You may need to find the class for the input policy you are using (e.g. UtgGreedySearchPolicy) and modify it accordingly.

yuanchun-li avatar Nov 13 '22 14:11 yuanchun-li

Thank you for your reply!

HongheZ avatar Nov 13 '22 15:11 HongheZ