the rise of the modelling bots towards assisted modelling
play

The rise of the (modelling) bots: Towards assisted modelling via - PowerPoint PPT Presentation

The rise of the (modelling) bots: Towards assisted modelling via Social Networks Sara P erez-Soler, Esther Guerra, Juan de Lara, Francisco Jurado MISO - Modelling & Software Engineering Research Group (miso.es) Universidad Aut onoma de


  1. The rise of the (modelling) bots: Towards assisted modelling via Social Networks Sara P´ erez-Soler, Esther Guerra, Juan de Lara, Francisco Jurado MISO - Modelling & Software Engineering Research Group (miso.es) Universidad Aut´ onoma de Madrid (Spain) Esther Guerra Assisted modelling via Social Networks ASE 2017 1 / 9

  2. Motivation Modelling applications are heavyweight (desktop, diagramming) Social networks, like Twitter and Telegram: increasingly used for work and leisure agile and lightweight means for coordination and information sharing Goal: exploit social networks for collaborative modelling social networks as front-end for modelling domain requirements as short messages in natural language a bot interprets the messages and derives a domain model Esther Guerra Assisted modelling via Social Networks ASE 2017 2 / 9

  3. Approach Interaction via messages parse tree NL description NL processing rules ( ROOT Houses have windows 3 2 ( S select 1c parse ( NP ( NNS houses)) NL command NL rule(s) WordNet ( VP ( VBP have) model add class House ( NP ( NNS windows))))) update traceability extract kind? 1b management model projects process actions existing command users message model social network 1a actions Mike! That is wrong! comment add update delete model connect feedback social … network 4 produce feedback feedback Users interact by sending messages to social network of choice. Discussion and coordination via regular messages Project management commands (e.g., projects ) Domain requirements in natural language: descriptions: “houses have windows” flexible commands: “add class house” , “create class house” Esther Guerra Assisted modelling via Social Networks ASE 2017 3 / 9

  4. Approach Processing of messages in natural language parse tree NL description NL processing rules ( ROOT Houses have windows 3 2 ( S select 1c parse ( NP ( NNS houses)) NL command NL rule(s) WordNet ( VP ( VBP have) model add class House ( NP ( NNS windows))))) update traceability extract kind? 1b management model projects process actions existing command users message model social network 1a actions Mike! That is wrong! comment add update delete model connect feedback social … network 4 produce feedback feedback Bot parses the message (Stanford parser) Rules a to interpret parse tree and trigger model update actions A picture of the updated model is sent to users a “ Extracting domain models from NL requirements: approach and industrial evaluation ”, Arora et al., MODELS 2016. Esther Guerra Assisted modelling via Social Networks ASE 2017 3 / 9

  5. Approach Feedback and traceability parse tree NL description NL processing rules ( ROOT Houses have windows 3 2 ( S select 1c parse ( NP ( NNS houses)) NL command NL rule(s) WordNet ( VP ( VBP have) model add class House ( NP ( NNS windows))))) update traceability extract kind? 1b management model projects process actions existing command users message model social network 1a actions Mike! That is wrong! comment add update delete model connect feedback social … network 4 produce feedback feedback Model validation Exporter to Ecore/EMF Trace model Esther Guerra Assisted modelling via Social Networks ASE 2017 3 / 9

  6. Example a goods transport company handles deliveries Esther Guerra Assisted modelling via Social Networks ASE 2017 4 / 9

  7. Example a goods transport a delivery has a company handles numeric identifier deliveries ⇒ Esther Guerra Assisted modelling via Social Networks ASE 2017 4 / 9

  8. Example a goods transport a delivery has a a delivery is made of company handles numeric identifier packages. Packets can be deliveries bulky, heavy or fragile ⇒ ⇒ Esther Guerra Assisted modelling via Social Networks ASE 2017 4 / 9

  9. Key points Benefits Social networks are ubiquitous (low learning curve) Use in mobility, no need to install new applications Lightweight front-end Interaction via short messages can be easier/faster Requirements in natural language (suitable for non-modelling experts) A bot interprets the messages and derives a model Seamless integration of modelling and discussion mechanisms Message history provides trace information Esther Guerra Assisted modelling via Social Networks ASE 2017 5 / 9

  10. Key points Scenarios Quick prototyping of models when and where needed Sw projects: foster collaboration of engineers and domain experts Education: collaborative resolution of exercises Crowdsourcing of modelling decisions Esther Guerra Assisted modelling via Social Networks ASE 2017 5 / 9

  11. Tool support SOCIO is a bot for assisted modelling over social networks It works over Telegram and Twitter (@modellingBot) It uses the Stanford parser (parsing) and Wordnet (synonyms) Video and URL: h ttps://saraperezsoler.github.io/ModellingBot Telegram Twitter Esther Guerra Assisted modelling via Social Networks ASE 2017 6 / 9

  12. Evaluation Participants: 10 post-graduate or last-year degree students of CS Configuration: 4 Telegram groups (2-3 people/group) Task: building model for e-commerce, answering questionnaire Results: good usability (74%) natural language is suitable to build models (75%) social networks are useful for collaboration (76%) easy-to-use, quicker than other modelling tools Esther Guerra Assisted modelling via Social Networks ASE 2017 7 / 9

  13. Summary and next steps Novel approach to collaborative modelling via social networks Tooling and promising initial evaluation What’s next? improve natural processing, extend command set of tool define collaboration protocols (e.g., roles, voting) other bots (e.g., quality assurance bots, gamification bots) other social networks (e.g., Slack) and communication mechanisms (e.g., speech recognition using Skype bots) Esther Guerra Assisted modelling via Social Networks ASE 2017 8 / 9

  14. The rise of the (modelling) bots: Towards assisted modelling via Social Networks Sara P´ erez-Soler, Esther Guerra, Juan de Lara, Francisco Jurado MISO - Modelling & Software Engineering Research Group (miso.es) Universidad Aut´ onoma de Madrid (Spain) Questions? Esther Guerra Assisted modelling via Social Networks ASE 2017 9 / 9

Recommend


More recommend