Software bot

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

A software bot is a type of software agent in the service of software project management and software engineering. A software bot has an identity and potentially personified aspects in order to serve their stakeholders[1] . Software bots often compose software services and provide an alternative user interface, which is sometimes, but not necessarily conversational.

Software bots are typically used to execute tasks, suggest actions, engage in dialogue, and promote social and cultural aspects of a software project.[2]

The term bot is derived from robot. However, robots act in the physical world and software bots act only in digital spaces [1]. Some software bots are designed and behave as chatbots, but not all chatbots are software bots. Erlenhov et al.[3] discuss the past and future of software bots and show that software bots have been adopted for many years.

Usage[edit]

Software bots are used to support development activities, such as communication among software developers and automation of repetitive tasks. Software bots have been adopted by several communities related to software development, such as open-source communities on GitHub[4] and Stack Overflow.

GitHub bots have user accounts and can open, close, or comment on pull requests and issues. GitHub bots have been used to assign reviewers, ask contributors to sign the Contributor License Agreement, report continuous integration failures, review code and pull requests, welcome newcomers, run automated tests, merge pull requests, fix vulnerabilities[5], etc.

The Slack tool includes an API for developing software bots [6]. There are slack bots for keeping track of todo lists, coordinating standup meetings, and managing support tickets. The Chatbot company[7] products further simplify the process of creating a custom Slack bot.

In Wikipedia, Wikipedia bots automate a variety of tasks, such as creating stub articles, consistently updating the format of multiple articles, and so on.

Taxonomies and Classification Frameworks[edit]

Lebeuf et al. [1] provide a faceted taxonomy to characterize bots based on a literature review. It is composed of 3 main facets: (i) properties of the environment that the bot was created in; (ii) intrinsic properties of the bot itself; and (iii) the bot's interactions within its environment. They further detail the facets into sets of sub-facets under each of the main facets.

Paikari and van der Hoek [8] defined a set of dimensions to enable comparing software bots, applied especifically to chatbots. It resulted in six dimensions:

  • Type: the main purpose of the bot (information, collaboration, or automation)
  • Direction of the "conversation" (input, output, or bi-directional)
  • Guidance (human-mediated, or autonomous)
  • Predictability (deterministic, or evolving)
  • Interaction style (dull, alternate vocabulary, relationship-builder, human-like)
  • Communication channel (text, voice, or both)

Issues and threats[edit]

Software bots may not be well accepted by humans. A study from the University of Antwerp[9] has compared how developers active on Stack Overflow perceive answers generated by software bots. They find that developers perceive the quality of software bot-generated answers to be significantly worse if the identity of the software bot is made apparent. By contrast, answers from software bots with human-like identity were better received. In practice, when software bots are used on platforms like GitHub or Wikipedia, their username makes it clear that they are bots, e.g., DependaBot, RenovateBot, User:DatBot, User:SineBot.

Bots may be subject to special rules. For instance, the Github terms of service[10] does not allow `bot` but accepts `machine account`, where a `machine account` has two properties: 1) a human takes full responsibility of the bot's actions 2) it cannot create other accounts.

See also[edit]

References[edit]

  1. ^ a b c Lebeuf, Carlene; Zagalsky, Alexey; Foucault, Matthieu; Storey, Margaret-Anne (2019). "Defining and Classifying Software Bots: A Faceted Taxonomy". Proceedings of Bots in Software Engineering: 1–6. doi:10.1109/BotSE.2019.00008. ISBN 978-1-7281-2262-5.
  2. ^ Team, The SOBotics (2019-09-17). "Meet the Bots that Help Moderate Stack Overflow". Stack Overflow Blog. Retrieved 2019-11-22.
  3. ^ Erlenhov, Linda; Gomes de Oliveira Neto, Francisco; Scandariato, Riccardo; Leitner, Philipp (2019). "Current and Future Bots in Software Development". 2019 IEEE/ACM 1st International Workshop on Bots in Software Engineering (BotSE). pp. 7–11. doi:10.1109/BotSE.2019.00009. ISBN 978-1-7281-2262-5.
  4. ^ Wessel, Mairieli; de Souza, Bruno Mendes; Steinmacher, Igor; Wiese, Igor S.; Polato, Ivanilton; Chaves, Ana Paula; Gerosa, Marco A. (2018-11-01). "The Power of Bots: Characterizing and Understanding Bots in OSS Projects". Proceedings of the ACM on Human-Computer Interaction. 2 (CSCW): 1–19. doi:10.1145/3274451.
  5. ^ "Git your patches here! GitHub offers to brew automatic pull requests loaded with vuln fixes". www.theregister.co.uk. Retrieved 2019-11-22.
  6. ^ Guay, Matthew (2019-11-22). "How to Build a Slack Bot in 5 Minutes". Slack Blog. Retrieved 2019-11-22.
  7. ^ Company, Chatbot (2019-11-22). "Slack integration: AI Chatbot". LiveChat Inc. Retrieved 2019-11-22.
  8. ^ Paikari, Elahe; van der Hoek, Andre (2018). "A Framework for Understanding Chatbots and their Future". Proceedings of the 11th International Workshop on Cooperative and Human Aspects of Software Engineering - CHASE '18. pp. 13–16. doi:10.1145/3195836.3195859. ISBN 9781450357258.
  9. ^ Murgia, Alessandro; Janssens, Daan; Demeyer, Serge; Vasilescu, Bogdan (2016). "Among the Machines". Proceedings of CHI: 1272–1279. doi:10.1145/2851581.2892311. ISBN 9781450340823.
  10. ^ "GitHub Terms of Service - GitHub Help". help.github.com. Retrieved 2019-11-22.

External links[edit]