76,223 research outputs found

    Behavioral types in programming languages

    Get PDF
    A recent trend in programming language research is to use behav- ioral type theory to ensure various correctness properties of large- scale, communication-intensive systems. Behavioral types encompass concepts such as interfaces, communication protocols, contracts, and choreography. The successful application of behavioral types requires a solid understanding of several practical aspects, from their represen- tation in a concrete programming language, to their integration with other programming constructs such as methods and functions, to de- sign and monitoring methodologies that take behaviors into account. This survey provides an overview of the state of the art of these aspects, which we summarize as the pragmatics of behavioral types

    Combining behavioural types with security analysis

    Get PDF
    Today's software systems are highly distributed and interconnected, and they increasingly rely on communication to achieve their goals; due to their societal importance, security and trustworthiness are crucial aspects for the correctness of these systems. Behavioural types, which extend data types by describing also the structured behaviour of programs, are a widely studied approach to the enforcement of correctness properties in communicating systems. This paper offers a unified overview of proposals based on behavioural types which are aimed at the analysis of security properties

    Retractable Contracts

    Get PDF
    In calculi for modelling communication protocols, internal and external choices play dual roles. Two external choices can be viewed naturally as dual too, as they represent an agreement between the communicating parties. If the interaction fails, the past agreements are good candidates as points where to roll back, in order to take a different agreement. We propose a variant of contracts with synchronous rollbacks to agreement points in case of deadlock. The new calculus is equipped with a compliance relation which is shown to be decidable.Comment: In Proceedings PLACES 2015, arXiv:1602.0325

    Preliminary Results Towards Contract Monitorability

    Get PDF
    This paper discusses preliminary investigations on the monitorability of contracts for web service descriptions. There are settings where servers do not guarantee statically whether they satisfy some specified contract, which forces the client (i.e., the entity interacting with the server) to perform dynamic checks. This scenario may be viewed as an instance of Runtime Verification, where a pertinent question is whether contracts can be monitored for adequately at runtime, otherwise stated as the monitorability of contracts. We consider a simple language of finitary contracts describing both clients and servers, and develop a formal framework that describes server contract monitoring. We define monitor properties that potentially contribute towards a comprehensive notion of contract monitorability and show that our simple contract language satisfies these properties.Comment: In Proceedings PrePost 2016, arXiv:1605.0809

    Social Preferences and Relational Contracting Performance: An Experimental Investigation

    Get PDF
    We examine how social preferences affect behavior and surplus in relational contracts. Experimental subjects participate in a contracting environment similar to Brown, Falk, and Fehr [Brown, M., Falk, A. & Fehr, E., “Relational Contracts and the Nature of Market Interactions, Econometrica, 72 (2004):747-780] and in social preference experiments adapted from Charness and Rabin [Charness, G. & Rabin, M. “Understanding Social Preferences with Simple Tests.” The Quarterly Journal of Economics 117(2002): 817-869]. Subjects’ behavior during the Charness and Rabin experiment is a significant predictor of behavior and outcomes observed during the subsequent multi-period, finite-horizon, relational- contracting environment, which features market power, unenforceable performance, reputation formation and endogenous matching of trading partners. Compared to subjects who respond to the Charness-Rabin games in a fashion consistent with purely self-interested, competitive or reciprocal social preferences, buyers and sellers with alternative social preference structures engage in contracts with substantially higher quality and price, which leads to greater surplus for both parties. A key difference is that self-interested, competitive and reciprocal buyers respond to early-period shirking by extending subsequent offers that are less generous to the seller, while buyers with other social preferences extend subsequent offers that are more generous. Reciprocal and competitive sellers and, to a lesser extent, self-interested sellers, deliver sub-contractual levels of quality more often, which substantially lowers buyer and total welfare. We conclude that intentional or ‘cold’ measures of social preferences have considerable predictive power in dynamic, interactive (or ‘hot’) economic settings.Contracts; relational contracts; implicit contracts; market interaction; experimental economics; repeated transaction; social preferences.

    A theory of contracts for web services

    Get PDF
    <p>Contracts are behavioural descriptions of Web services. We devise a theory of contracts that formalises the compatibility of a client to a service, and the safe replacement of a service with another service. The use of contracts statically ensures the successful completion of every possible interaction between compatible clients and services.</p> <p>The technical device that underlies the theory is the definition of filters, which are explicit coercions that prevent some possible behaviours of services and, in doing so, they make services compatible with different usage scenarios. We show that filters can be seen as proofs of a sound and complete subcontracting deduction system which simultaneously refines and extends Hennessy's classical axiomatisation of the must testing preorder. The relation is decidable and the decision algorithm is obtained via a cut-elimination process that proves the coherence of subcontracting as a logical system.</p> <p>Despite the richness of the technical development, the resulting approach is based on simple ideas and basic intuitions. Remarkably, its application is mostly independent of the language used to program the services or the clients. We also outline the possible practical impact of such a work and the perspectives of future research it opens.</p&gt

    Contracts, Fairness, and Incentives

    Get PDF
    We show experimentally that fairness concerns may have a decisive impact on both the actual and the optimal choice of contracts in a moral hazard context. Explicit incentive contracts that are optimal according to self-interest theory become inferior when some agents value fairness. Conversely, implicit bonus contracts that are doomed to fail among purely selfish actors provide powerful incentives and become superior when there are some fair-minded players. The principals understand this and predominantly choose the bonus contracts, even preferring a pure bonus contract over a contract that combines the enforcement power of explicit and implicit incentives. This contract preference is associated with the fact that explicit incentives weaken the enforcement power of implicit bonus incentives significantly. Our results are largely consistent with recently developed theories of fairness, which also offer interesting new insights into the interaction of contract choices, fairness and incentives.moral hazard, incentives, bonus contract, fairness, inequity aversion

    Contracts, Fairness, and Incentives

    Get PDF
    We show experimentally that fairness concerns may have a decisive impact on both the actual and the optimal choice of contracts in a moral hazard context. Explicit incentive contracts that are optimal according to self-interest theory become inferior when some agents value fairness. Conversely, implicit bonus contracts that are doomed to fail among purely selfish actors provide powerful incentives and become superior when there are some fair-minded players. The principals understand this and predominantly choose the bonus contracts, even preferring a pure bonus contract over a contract that combines the enforcement power of explicit and implicit incentives. This contract preference is associated with the fact that explicit incentives weaken the enforcement power of implicit bonus incentives significantly. Our results are largely consistent with recently developed theories of fairness, which also offer interesting new insights into the interaction of contract choices, fairness and incentives.Moral Hazard; Incentives; Bonus Contract; Fairness; Inequity Aversion
    corecore