Hash maps are a common and important data structure in efficient algorithm implementations. Despite their wide-spread use, real-world implementations are not regularly verified.
In this paper, we present the first case study of the
Static analyses based on typestates are important in certifying correctness of code contracts. Such analyses rely on Deterministic Finite Automata (DFAs) to specify properties of an object. We target the analysis of contracts in low-latency environments, where many useful contracts are impractical to codify as DFAs and/or the size of their associated DFAs leads to sub-par performance. To address this bottleneck, we present a lightweight compositional typestate analyzer, based on an expressive specification language that can succinctly specify code contracts. By implementing it in the static analyzer Infer, we demonstrate considerable performance and usability benefits when compared to existing techniques. A central insight is to rely on a sub-class of DFAs whose analysis uses efficient bit-vector operations.
Objective: To analyze the association between self-reported sexual orientation and violence in the Brazilian population.
Methods: This cross-sectional epidemiological study used the 2019 National Survey of Health database. Total violence and its subtypes (psychological, physical, and sexual) were analyzed in the previous 12 months. Prevalence and odds ratio adjusted for age group were estimated, with their respective 95% confidence intervals, according to the self-reported sexual orientation of the Brazilian population aged 18 years and older. Statistical significance was set at 5%.
Results: Most of the Brazilian population self-identified as heterosexual (94.75%) and 1.89% as LGB+. This percentage was lower than that of respondents who refused to answer the question (2.28%). The prevalence of violence in the general population of Brazil was 18.27%, and the most common subtype was psychological violence (17.36%). The LGB+ population was more than twice as likely to experience any type of violence. LGB+ women had the highest prevalence in all violence subtypes, and heterosexual men had the lowest. LGB+ women were over three times more likely to experience physical violence compared to heterosexual ones. Meanwhile, the probability of LGB+ men experiencing sexual violence was almost eight times higher than in heterosexual men.
Conclusion: The prevalence of violence against the LGB+ population was high in the country. Public policies aimed at this population are necessary to fight discrimination against sexual diversity and ensure the rights of non-heterosexual people.
We present a case study on the application of formal methods in the railway domain. The case study is part of the FormaSig project, which aims to support the development of EULYNX — a European standard defining generic interfaces for railway equipment — using formal methods. We translate the semi-formal SysML models created within EULYNX to formal mCRL2 models. By adopting a model-centric approach in which a formal model is used both for analyzing the quality of the EULYNX specification and for automated compliance testing, a high degree of traceability is achieved.
The target of our case study is the EULYNX Point subsystem interface. We present a detailed catalog of the safety requirements, and provide counterexamples that show that some of them do not hold without specific fairness assumptions. We also use the mCRL2 model to generate both random and guided tests, which we apply to a third-party software simulator. We share metrics on the coverage and execution time of the tests, which show that guided testing outperforms random testing. The test results indicate several discrepancies between the model and the simulator. One of these discrepancies is caused by a fault in the simulator, the others are caused by false positives, i.e. an over-approximation of fail verdicts by our test setup.
Artificial Intelligence (AI) and data are reshaping organizations and businesses. Human Resources (HR) management and talent development make no exception, as they tend to involve more automation and growing quantities of data. Because this brings implications on workforce, career transparency, and equal opportunities, overseeing what fuels AI and analytical models, their quality standards, integrity, and correctness becomes an imperative for those aspiring to such systems. Based on an ontology transformation to B-machines, this article presents an approach to constructing a valid and error-free career agent with Deep Reinforcement Learning (DRL). In short, the agent's policy is built on a framework we called Multi State-Actor (MuStAc) using a decentralized training approach. Its purpose is to predict both relevant and valid career steps to employees, based on their profiles and company pathways (observations). Observations can comprise various data elements such as the current occupation, past experiences, performance, skills, qualifications, and so on. The policy takes in all these observations and outputs the next recommended career step, in an environment set as the combination of an HR ontology and an Event-B model, which generates action spaces with respect to formal properties. The Event-B model and formal properties are derived using OWL to B transformation.
No abstract available.

