Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
Publications

Publications by CSE

2023

CharM - Evaluating a model for characterizing service-based architectures

Authors
Rosa, TD; Guerra, EM; Correia, FF; Goldman, A;

Publication
JOURNAL OF SYSTEMS AND SOFTWARE

Abstract
Service-based architecture is an approach that emerged to overcome software development challenges such as difficulty to scale, low productivity, and strong dependence between elements. Microservice, an architectural style that follows this approach, offers advantages such as scalability, agility, resilience, and reuse. This architectural style has been well accepted and used in industry and has been the target of several academic studies. However, analyzing the state-of-the-art and -practice, we can notice a fuzzy limit when trying to classify and characterize the architecture of service-based systems. Furthermore, it is possible to realize that it is difficult to analyze the trade-offs to make decisions regarding the design and evolution of this kind of system. Some concrete examples of these decisions are related to how big the services should be, how they communicate, and how the data should be divided/shared. Based on this context, we developed the CharM, a model for characterizing the architecture of service-based systems that adopts microservices guidelines. To achieve this goal, we followed the guidelines of the Design Science Research in five iterations, composed of an ad-hoc literature review, discussions with experts, two case studies, and a survey. As a contribution, the CharM is an easily understandable model that helps professionals with different profiles to understand, document, and maintain the architecture of service-based systems.& COPY; 2023 Elsevier Inc. All rights reserved.

2023

Hybrid SkipAwareRec: A Streaming Music Recommendation System

Authors
Ramos, R; Oliveira, L; Vinagre, J;

Publication
PROGRESS IN ARTIFICIAL INTELLIGENCE, EPIA 2023, PT I

Abstract
In an automatic music playlist generator, such as an automated online radio channel, how should the system react when a user hits the skip button? Can we use this type of negative feedback to improve the list of songs we will playback for the user next? We propose SkipAwareRec, a next-item recommendation system based on reinforcement learning. SkipAwareRec recommends the best next music categories, considering positive feedback consisting of normal listening behaviour, and negative feedback in the form of song skips. Since SkipAwareRec recommends broad categories, it needs to be coupled with a model able to choose the best individual items. To do this, we propose Hybrid SkipAwareRec. This hybrid model combines the SkipAwareRec with an incremental Matrix Factorisation (MF) algorithm that selects specific songs within the recommended categories. Our experiments with Spotify's Sequential Skip Prediction Challenge dataset show that Hybrid SkipAwareRec has the potential to improve recommendations by a considerable amount with respect to the skip-agnostic MF algorithm. This strongly suggests that reformulating the next recommendations based on skips improves the quality of automatic playlists. Although in this work we focus on sequential music recommendation, our proposal can be applied to other sequential content recommendation domains, such as health for user engagement.

2023

Tools for Refactoring to Microservices: A Preliminary Usability Report

Authors
Fritzsch, J; Correia, FF; Bogner, J; Wagner, S;

Publication
CoRR

Abstract

2023

PROGpedia: Collection of source-code submitted to introductory programming assignments

Authors
Paiva, JC; Leal, JP; Figueira, A;

Publication
DATA IN BRIEF

Abstract
Learning how to program is a difficult task. To acquire the re-quired skills, novice programmers must solve a broad range of programming activities, always supported with timely, rich, and accurate feedback. Automated assessment tools play a major role in fulfilling these needs, being a common pres-ence in introductory programming courses. As programming exercises are not easy to produce and those loaded into these tools must adhere to specific format requirements, teachers often opt for reusing them for several years. There-fore, most automated assessment tools, particularly Mooshak, store hundreds of submissions to the same programming ex-ercises, as these need to be kept after automatically pro-cessed for possible subsequent manual revision. Our dataset consists of the submissions to 16 programming exercises in Mooshak proposed in multiple years within the 2003-2020 timespan to undergraduate Computer Science students at the Faculty of Sciences from the University of Porto. In particular, we extract their code property graphs and store them as CSV files. The analysis of this data can enable, for instance, the generation of more concise and personalized feedback based on similar accepted submissions in the past, the identifica-tion of different strategies to solve a problem, the under -standing of a student's thinking process, among many other findings.(c) 2023 The Author(s). Published by Elsevier Inc. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/ )

2023

Promoting sustainable and personalised travel behaviours while preserving data privacy

Authors
Pina, N; Brito, C; Vitorino, R; Cunha, I;

Publication
Transportation Research Procedia

Abstract
Cities worldwide have agreed on ambitious goals regarding carbon neutrality; thus, smart cities face challenges regarding active and shared mobility due to public transportation's low attractiveness and lack of real-time multimodal information. These issues have led to a lack of data on the community's mobility choices, traffic commuters' carbon footprint and corresponding low motivation to change habits. Besides, many consumers are reluctant to use some software tools due to the lack of data privacy guarantee. This paper presents a methodology developed in the FranchetAI project that addrebes these issues by providing distributed privacy-preserving machine learning models that identify travel behaviour patterns and respective GHG emissions to recommend alternative options. Also, the paper presents the developed FranchetAI mobile prototype. © 2023 The Authors. Published by ELSEVIER B.V. This is an open access article under the CC BY-NC-ND license (https://creativecommons.org/licenses/by-nc-nd/4.0)

2023

Guiding Evacuees to Improve Fire Building Evacuation Efficiency: Hazard and Congestion Models to Support Decision Making by a Context-Aware Recommender System

Authors
Neto, J; Morais, AJ; Gonçalves, R; Coelho, AL;

Publication
BUILDINGS

Abstract
Fires in large buildings can have tragic consequences, including the loss of human lives. Despite the advancements in building construction and fire safety technologies, the unpredictable nature of fires, particularly in large buildings, remains an enormous challenge. Acknowledging the paramount importance of prioritising human safety, the academic community has been focusing consistently on enhancing the efficiency of building evacuation. While previous studies have integrated evacuation simulation models, aiding in aspects such as the design of evacuation routes and emergency signalling, modelling human behaviour during a fire emergency remains challenging due to cognitive complexities. Moreover, behavioural differences from country to country add another layer of complexity, hindering the creation of a universal behaviour model. Instead of centring on modelling the occupant behaviour, this paper proposes an innovative approach aimed at enhancing the occupants' behaviour predictability by providing real-time information to the occupants regarding the most suitable evacuation routes. The proposed models use a building's environmental conditions to generate contextual information, aiding in developing solutions to make the occupants' behaviour more predictable by providing them with real-time information on the most appropriate and efficient evacuation routes at each moment, guiding the occupants to safety during a fire emergency. The models were incorporated into a context-aware recommender system for testing purposes. The simulation results indicate that such a system, coupled with hazard and congestion models, positively influences the occupants' behaviour, fostering faster adaptation to the environmental conditions and ultimately enhancing the efficiency of building evacuations.

  • 13
  • 220