Skip to content
CAI
Software that uses CAICheck a score

ReubenBond/OrleansEventJournal

63.6

Weak · 21 September 2026

6.4k

lines of production code

C#

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a demonstration of the Microsoft Orleans actor framework, implementing a stateful calculator service with event sourcing capabilities. It provides a web-based console interface to interact with actors that perform arithmetic operations and maintain a history of state changes. The architecture includes a Silo for actor management and a client application for invoking methods and debugging.

Features

Added calculator actor implementation and console client infrastructure

Introduced the core calculator actor logic in \Actor.Implementations\ with both a simple in-memory \CalculatorActor\ and a stateful \LogCalcActor\ that supports event sourcing via \ICalculatorState\. Added a \Console\ application featuring an ASP.NET Web API controller (\InvocationController\) to invoke actor methods, a \CompletionController\ for command-line tab completion, and a \DiagnosticsController\ for debugging. The console client also includes configuration for Orleans, exception handling filters, and frontend assets (jQuery, terminal UI) to support the interactive console experience.

Actor.Implementations, Console, Silo · high confidence

Initial commit of Orleans demo project

The repository is initialized with the \ActorWebConsole.sln\ solution file, a \clean.cmd\ script for build cleanup, a \.gitignore\ configuration, and a \README.md\ that introduces the project as a demo of a Web-based console and an Event Sourcing implementation for Project Orleans.

(repo-wide) · high confidence

Initial release of the Orleans-based actor framework

The application introduces a new actor-based architecture for handling stateful computations and event logging. The \Actor.Interfaces\ library defines the \ICalculatorActor\ for performing arithmetic operations (add, multiply, divide, reset, get) and the \ILogCalcActor\ which extends the calculator interface with an event-sourcing capability (\GetHistory\) to retrieve past events. The \ActorMetadataAttributes\ project provides custom attributes (\ActorAttribute\, \EventAttribute\, \VisibleAttribute\) to configure actor behavior and visibility. A \GuidJsonConverter\ and \JsonContractResolver\ in the \Common\ library ensure that \Guid\ types are serialized as strings in JSON payloads. The \EventJournal\ namespace introduces an \Address\ class for identifying actors and an \Event\ class to represent state changes, supporting a history of all actions performed. The \ActorWebConsole\ project sets up the deployment configuration for the Silo and Console roles, defining internal endpoints for Orleans communication and HTTP access.

(repo-wide) · high confidence

Dependencies

Updated project dependencies to Microsoft Orleans 1.0.5

The project's NuGet package references have been updated to Microsoft Orleans 1.0.5, along with associated dependencies such as Newtonsoft.Json 6.0.8, Microsoft.Owin 3.0.1, and Microsoft.CodeAnalysis 1.0.0-rc1. This ensures the solution builds against the latest stable Orleans framework and its ecosystem libraries.

(dependencies) · medium confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 64 → 64 (-0.8)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 80 → 78 (-2.3)
  • Architecture 97 → 97 (-0.1)
  • Maturity 67 → 67 (+0.0)
  • Readiness 50 → 50 (+0.0)
  • Security 100 → 92 (-8.0)

Resolved (9)

  • Bounded contexts not declared
  • Build did not complete in the analyzer
  • No exposed public API
  • The event-sourcing API method signature (Task Event(...)) is shown but the comment linking it to Orleans/Issue343 is not used as a reference in the doc. (README.md)
  • early-stage repository — too few commits for a meaningful bus factor
  • early-stage repository — too little history to judge knowledge freshness
  • git history depth insufficient
  • git history depth insufficient
  • redundant comment (ActorMetadataAttributes/ActorAttribute.cs)

New (6)

  • Build failed
  • Documentation: no installation or build instructions (README.md)
  • High: security finding (details withheld)
  • Scattered collaborators
  • redundant comment (EventJournal/Execution/EventDispatcherGenerator.cs)
  • redundant comment (EventJournal/Utilities/SyntaxFactoryExtensions.cs)

API surface

  • Unchanged — 2 HTTP endpoints

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

ReubenBond/OrleansEventJournal was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 21 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 8fc000c469bb1aba58b9c9497877362093911e6c — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-28e75b8e3254.