Skip to content
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

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

Open
HongheZ opened this issue Jun 14, 2022 · 2 comments
Open

Comments

@HongheZ
Copy link

HongheZ commented Jun 14, 2022

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!

@yuanchun-li
Copy link
Collaborator

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.

@HongheZ
Copy link
Author

HongheZ commented Nov 13, 2022

Thank you for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants