Background. Automated test execution is an important activity to gather information about the quality of a software project. So-called flaky tests, however, negatively affect this process. Such tests fail seemingly at random without changes to the code and thus do not provide a clear signal. Previous work proposed to identify flaky tests based on the source code identifiers in the test code. So far, these approaches have not been evaluated in a large-scale industrial setting. Aims. We evaluate approaches to identify flaky tests and their root causes based on source code identifiers in the test code in a large-scale industrial project. Method. First, we replicate previous work by Pinto et al. in the context of SAP HANA. Second, we assess different feature extraction techniques, namely TF-IDF and TF-IDFC-RF. Third, we evaluate CodeBERT and XGBoost as classification models. For a sound comparison, we utilize both the data set from previous work and two data sets from SAP HANA. Results. Our replication shows similar results on the original data set and on one of the SAP HANA data sets. While the original approach yielded an F1-Score of 0.94 on the original data set and 0.92 on the SAP HANA data set, our extensions achieve F1-Scores of 0.96 and 0.99, respectively. The reliance on external data sources is a common root cause for test flakiness in the context of SAP HANA. Conclusions. The vocabulary of a large industrial project seems to be slightly different with respect to the exact terms, but the categories for the terms, such as remote dependencies, are similar to previous empirical findings. However, even with rather large F1-Scores, both finding source code identifiers for flakiness and a black box prediction have limited use in practice as the results are not actionable for developers.
Smart charging is a means of monitoring and actively controlling EV chargers to optimize the distribution and consumption of energy with a focus on peak-load avoidance. This paper describes the most important requirements that have influenced the design and implementation of the “Smart Charging System” (SCS). It presents the architecture and main functional building blocks of the SCS, which have been realized in an iterative development process as an extension component of the already existing open-source solution “Open e-Mobility”. We also provide details on the functionality of the core smart charging algorithm within SCS and show how various data sources can be utilized by the system to increase the safety and efficiency of EV charging processes. Furthermore, we describe our iterative approach to developing the system, introduce the real-world testbed at SAP Labs France in Mougins/France, and share evaluation results and experiences gathered over a three-year period.
In this paper, we present an approach to the price-optimized charging of electric vehicles (EVs) based on energy flexibility. Fleet operators determine the minimum and the maximum power demand to charge EVs at a specific time and share this information as so-called power corridors (PCs) with an energy aggregator. The energy aggregator collects the predicted PCs from the fleet operators located in the same market area and aggregates the PCs. The energy provider periodically sends energy prices from the market to the energy aggregator, which purchases energy when its price is opportune. The energy aggregator calculates and delivers charge plans for each fleet operator involved and thus can pass along the purchase prices. The incentive design must ensure that fleet operators are better off by disclosing their flexibility data to the aggregator. This study can contribute to a new data-driven energy market communication system by providing insights on how to leverage the energy flexibility that EVs can offer to the energy system.
Resource sharing in general is a means of solving the problem of infrequent and, thus, inefficient utilization of expensive or scarce resources. In this paper, we present an approach to run shared EV-charging infrastructures in the context of commercial real-estate facilities. Collaborating EV-charger owners thereby create a pool of chargers for shared use. In our work, we consider aspects of economic viability, desirability and technical feasibility as prerequisites of a successful solution. We formally prove that the basic economic potential of the proposed pooling with regard to overall infrastructure utilization is given. In order to operate the shared pool of charging points at a given location, the corresponding management software must fulfil specific requirements. Our prototype implementation that was realized as an extension of the open-source system Open E-Mobility demonstrates the technical feasibility of the sharing idea in a user-friendly way. Questionnaires and personal interviews conducted with owners of small and medium-sized businesses revealed that they would share charging stations if it helped overcome availability bottlenecks, thus improving customer and employee perception.