Dataset Viewer
Auto-converted to Parquet Duplicate
annotator
stringclasses
2 values
audited_by
null
commit_sha
stringclasses
30 values
confidence
stringclasses
2 values
file_path
stringlengths
48
223
guideline_version
stringclasses
2 values
id
stringlengths
33
154
labelled_at
timestamp[s]date
2026-11-08 00:00:00
2026-11-14 00:00:00
license
stringclasses
3 values
marks
listlengths
0
2
⌀
module
stringclasses
347 values
project
stringclasses
30 values
qualified_name
stringlengths
18
123
rationale
stringlengths
6
435
⌀
repo_url
stringclasses
30 values
role
stringclasses
8 values
split
stringclasses
4 values
status
stringclasses
3 values
stratum
stringclasses
7 values
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/InvoicingApp.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.InvoicingApp
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.InvoicingApp
L16: @SpringBootApplication with a main method at L22 starts the app, so it is entry (runner-up config because of the @Bean methods at L26 and L31).
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/application/InvoiceCreator.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.application.InvoiceCreator
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.application.InvoiceCreator
L30: @TransactionalEventListener on onOrderProcessedEvent is the class's main method, so the framework invokes it as the start of a unit of work (rule 4.2); the runner-up is service (@Service at L16).
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/application/InvoiceService.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.application.InvoiceService
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.application.InvoiceService
L14: @Service on an application-layer class that delegates to InvoiceRepository, which the guide says is still `service`; no other module uses it, so no api mark.
https://github.com/peholmst/DDDExample
service
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/Invoice.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.Invoice
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.Invoice
L21: @Entity with L22: @Table(name = "invoices") makes it persisted business data, and no other module's main code uses it, so there is no api mark.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/InvoiceId.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.InvoiceId
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.InvoiceId
L6: InvoiceId extends DomainObjectId is a value object identifier held by the stored aggregate Invoice (Invoice extends AbstractAggregateRoot<InvoiceId>, mapped via InvoiceIdType), so it is domain per 3.4 (runner-up none); no other module uses it, so no api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/InvoiceItem.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.InvoiceItem
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.InvoiceItem
L14: @Entity with @Table(name = "invoice_items") makes it persisted business data; no other module uses it, so no api mark.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/InvoiceItemId.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.InvoiceItemId
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.InvoiceItemId
L6: InvoiceItemId extends DomainObjectId is a value-object identifier held by the stored entity InvoiceItem (L16 of InvoiceItem, mapped via a Hibernate custom type), so it is domain (runner-up none); no other module uses it.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/InvoiceRepository.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.InvoiceRepository
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.InvoiceRepository
L8: extends JpaRepository<Invoice, InvoiceId> is a Spring Data repository over the application's own store; no other module uses it and it has no implementations in the reactor, so no api or ext.
https://github.com/peholmst/DDDExample
persistence
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/OrderId.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.OrderId
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.OrderId
L6: OrderId extends DomainObjectId is a value object held by the stored Invoice aggregate (Invoice L32 `private OrderId orderId`), so it is domain (runner-up none); no other module uses it, so no api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/OrderProcessedEvent.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.OrderProcessedEvent
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.OrderProcessedEvent
L11: `OrderProcessedEvent implements DomainEvent` is an immutable domain event message (not persisted, not a handler), and no other module uses it, so no marks.
https://github.com/peholmst/DDDExample
event
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/domain/model/converter/OrderIdAttributeConverter.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.domain.model.converter.OrderIdAttributeConverter
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.domain.model.converter.OrderIdAttributeConverter
L8-9: a JPA @Converter implementing AttributeConverter is a converter, which step 1 (section 3.8) makes always `none`; no other module uses it, so it has no marks.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/infra/hibernate/InvoiceIdType.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.infra.hibernate.InvoiceIdType
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.infra.hibernate.InvoiceIdType
L7: InvoiceIdType extends DomainObjectIdCustomType is a Hibernate custom-type converter for InvoiceId (technical plumbing, not stored data or a repository), so it is none, and no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/infra/hibernate/InvoiceItemIdType.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.infra.hibernate.InvoiceItemIdType
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.infra.hibernate.InvoiceItemIdType
L7: InvoiceItemIdType extends DomainObjectIdCustomType is a Hibernate custom type adapter (framework SPI plumbing, not the entity itself, a repository or business logic), so it is none; the runner-up, persistence, is ruled out because it does no reads or writes, and no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/integration/OrderProcessedEventTranslator.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.integration.OrderProcessedEventTranslator
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.integration.OrderProcessedEventTranslator
L13: @Service on a translator that decides at L31 whether a remote OrderStateChanged becomes a local OrderProcessedEvent; runner-up is none (technical translation/converter machinery).
https://github.com/peholmst/DDDExample
service
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/integration/OrderStateChangedEvent.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.integration.OrderStateChangedEvent
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.integration.OrderStateChangedEvent
L12: `class OrderStateChangedEvent implements DomainEvent` is a message saying an order's state changed, deserialized from a remote event (OrderProcessedEventTranslator L30), and it is package-private with no use by other modules.
https://github.com/peholmst/DDDExample
event
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/rest/client/Order.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.rest.client.Order
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.rest.client.Order
L10: Order is a Jackson-deserialized DTO (L12 @JsonProperty fields) for the REST client response, not stored data, and no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/rest/client/OrderClient.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.rest.client.OrderClient
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.rest.client.OrderClient
L35: restTemplate.getForEntity(...) calls the remote orders REST API, so what it does (client) beats its @Service annotation (service) at L14; no other module uses it, so no api.
https://github.com/peholmst/DDDExample
client
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/rest/client/OrderItem.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.rest.client.OrderItem
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.rest.client.OrderItem
L9: @JsonProperty fields in a plain REST-client DTO that is not stored, and no other module uses it, so it is none with no marks.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/rest/client/RecipientAddress.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.rest.client.RecipientAddress
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.rest.client.RecipientAddress
L8: a Jackson-deserialized DTO (@JsonProperty fields) for a REST client response, not stored data and not used by other modules, so it is none.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
invoicing/src/main/java/net/pkhapps/ddd/invoicing/rest/controller/InvoiceServiceController.java
2.1
DDDExample/net.pkhapps.ddd.invoicing.rest.controller.InvoiceServiceController
2026-11-14T00:00:00
Apache-2.0
[]
invoicing
DDDExample
net.pkhapps.ddd.invoicing.rest.controller.InvoiceServiceController
L14: @RestController with L24/L29 @GetMapping handlers start a unit of work per HTTP request; it is package-private and unused by other modules, so no api mark.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
orders/src/main/java/net/pkhapps/ddd/orders/DataGenerator.java
2.1
DDDExample/net.pkhapps.ddd.orders.DataGenerator
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.DataGenerator
L16: the @Component is commented out ("Disabled for now"), so no framework invokes the @PostConstruct at L27. It is a test-data seeder that saves orders (L36), and the runner-up is persistence.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/OrdersApp.java
2.1
DDDExample/net.pkhapps.ddd.orders.OrdersApp
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.OrdersApp
L13: @SpringBootApplication with a main method at L19 starts the application, so it is an entry (runner-up: config, because of the @Bean at L23).
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/application/OrderCatalog.java
2.1
DDDExample/net.pkhapps.ddd.orders.application.OrderCatalog
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.application.OrderCatalog
L25: @Service with business methods such as createOrder (L48) and startProcessing (L70); no other module uses it, so no api mark, and it has no subclasses, so no ext mark.
https://github.com/peholmst/DDDExample
service
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
orders/src/main/java/net/pkhapps/ddd/orders/application/ProductCatalog.java
2.1
DDDExample/net.pkhapps.ddd.orders.application.ProductCatalog
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.application.ProductCatalog
L7: the interface ProductCatalog has a single implementation, ProductCatalogClient, which calls a remote product-catalog service through a RestTemplate, so the interface takes the role `client` (rule 4.5); the runner-up is `service`. It has no `ext` mark because there is only one implementation, and no `api` mark becau...
https://github.com/peholmst/DDDExample
client
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/application/form/OrderForm.java
2.1
DDDExample/net.pkhapps.ddd.orders.application.form.OrderForm
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.application.form.OrderForm
L12: OrderForm is a plain validated form object (bean-validation annotations, getters/setters) that is not persisted, so it is a form and therefore `none` under step 1; no other module uses it, so no `api`.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/application/form/OrderItemForm.java
2.1
DDDExample/net.pkhapps.ddd.orders.application.form.OrderItemForm
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.application.form.OrderItemForm
L9: OrderItemForm is a form object with validation annotations (L11 @NotNull, L13 @Min(1)) and getters/setters, not persisted, so it is none under step 1 (forms); no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/application/form/RecipientAddressForm.java
2.1
DDDExample/net.pkhapps.ddd.orders.application.form.RecipientAddressForm
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.application.form.RecipientAddressForm
L11: RecipientAddressForm is a plain form object with validation annotations and getters/setters, so it is a form/DTO (step 1, always none), and no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/Order.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.Order
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.Order
L22: @Entity with L23: @Table(name = "orders") makes Order persisted business data, and no other module's main code uses it, so there is no api mark.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/OrderId.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.OrderId
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.OrderId
L5: OrderId extends DomainObjectId is a value object held as the identifier of the stored Order aggregate (Order extends AbstractAggregateRoot<OrderId>, mapped via OrderIdType), so it is domain (runner-up none); no other module uses it, so no api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/OrderItem.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.OrderItem
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.OrderItem
L14: @Entity with @Table(name = "order_items") makes it persisted business data, and no other module's main code uses it, so no api mark.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/OrderItemId.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.OrderItemId
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.OrderItemId
L5: OrderItemId extends DomainObjectId is a value object identifying the stored OrderItem entity (OrderItem extends AbstractEntity<OrderItemId> at L16, mapped through Hibernate OrderItemIdType), so it is domain; the runner-up none (id/value object) is rejected because a stored aggregate holds it, and no other module us...
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/OrderRepository.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.OrderRepository
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.OrderRepository
L5: `OrderRepository extends JpaRepository<Order, OrderId>` is a Spring Data repository over the application's own store, and no other module uses it, so it gets no marks.
https://github.com/peholmst/DDDExample
persistence
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/OrderState.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.OrderState
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.OrderState
L3: `public enum OrderState` is an enum, which is always `none` under step 1, and no other module uses it, so it gets no marks.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/OrderStateChange.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.OrderStateChange
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.OrderStateChange
L14: @Embeddable value object with @Column fields, held as a stored set (Order L38) of the Order aggregate, so it is persisted data; no other module uses it.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/Product.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.Product
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.Product
L12: Product is a ValueObject that Order only receives as an argument (Order L146 addItem) and that ProductCatalogClient fetches remotely (L19 @JsonCreator), so no stored aggregate keeps it, which makes it a non-stored data class (`none`); the runner-up is `domain`.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/ProductId.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.ProductId
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.ProductId
L19 of OrderItem holds `private ProductId productId` as a persisted field (converted to a DB column by ProductIdConverter), so this value object is kept by a stored aggregate and is `domain` (runner-up: none).
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/RecipientAddress.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.RecipientAddress
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.RecipientAddress
L15: @Embeddable with @Column(name = "recipient_name") (L18) is a value object stored in the Order aggregate (L48, L58); no other module uses it, so no api, and it has no subclasses, so no ext.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/converter/ProductIdConverter.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.converter.ProductIdConverter
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.converter.ProductIdConverter
L8-9: a JPA @Converter implementing AttributeConverter is a converter, which is always none under step 1, and no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/event/OrderCreated.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.event.OrderCreated
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.event.OrderCreated
L12: `OrderCreated implements DomainEvent` is published via applicationEventPublisher.publishEvent in OrderCatalog, it is not persisted, and no other module uses it, so there is no `api` mark.
https://github.com/peholmst/DDDExample
event
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/domain/model/event/OrderStateChanged.java
2.1
DDDExample/net.pkhapps.ddd.orders.domain.model.event.OrderStateChanged
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.domain.model.event.OrderStateChanged
L13: OrderStateChanged implements DomainEvent, an immutable event registered by Order (L121) and not persisted itself, and no other module uses it, so no api.
https://github.com/peholmst/DDDExample
event
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
orders/src/main/java/net/pkhapps/ddd/orders/infra/hibernate/OrderIdType.java
2.1
DDDExample/net.pkhapps.ddd.orders.infra.hibernate.OrderIdType
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.infra.hibernate.OrderIdType
L7: OrderIdType extends DomainObjectIdCustomType is a Hibernate type-mapping adapter (framework SPI plumbing/converter), not a store reader, entity, or config bean; runner-up is persistence.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/infra/hibernate/OrderItemIdType.java
2.1
DDDExample/net.pkhapps.ddd.orders.infra.hibernate.OrderItemIdType
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.infra.hibernate.OrderItemIdType
L7: OrderItemIdType extends DomainObjectIdCustomType is a Hibernate custom-type adapter (framework SPI plumbing, registered via @TypeDef in package-info), not persisted data or a repository, and no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/rest/client/ProductCatalogClient.java
2.1
DDDExample/net.pkhapps.ddd.orders.rest.client.ProductCatalogClient
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.rest.client.ProductCatalogClient
L45: restTemplate.exchange(... "/api/products" ...) calls a remote product catalog over HTTP as its main purpose, which beats the @Service annotation at L18 (runner-up service); it is package-private and no other module uses it, so no marks.
https://github.com/peholmst/DDDExample
client
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/rest/controller/OrderCatalogController.java
2.1
DDDExample/net.pkhapps.ddd.orders.rest.controller.OrderCatalogController
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.rest.controller.OrderCatalogController
L11-L12: @RestController with @RequestMapping("/api/orders") and @GetMapping/@PutMapping handlers make it a framework-invoked entry point; it is package-private and unused by other modules, so no api mark.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/ui/CreateOrderView.java
2.1
DDDExample/net.pkhapps.ddd.orders.ui.CreateOrderView
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.ui.CreateOrderView
L30: @Route("create-order") makes the Vaadin framework instantiate this view as the start of a user request; the runner-up would be none, but a routed view is an entry point.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/ui/OrderBrowserView.java
2.1
DDDExample/net.pkhapps.ddd.orders.ui.OrderBrowserView
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.ui.OrderBrowserView
L15: @Route("") makes this Vaadin view a framework-invoked UI entry point that starts a unit of work when the route is requested (runner-up: none).
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/ui/OrderDetailsView.java
2.1
DDDExample/net.pkhapps.ddd.orders.ui.OrderDetailsView
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.ui.OrderDetailsView
L19: @Route("order") makes this Vaadin view a framework-routed page that starts a unit of work on navigation (runner-up: none, as a UI class), and no other module uses it.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
orders/src/main/java/net/pkhapps/ddd/orders/ui/TabContainer.java
2.1
DDDExample/net.pkhapps.ddd.orders.ui.TabContainer
2026-11-14T00:00:00
Apache-2.0
[]
orders
DDDExample
net.pkhapps.ddd.orders.ui.TabContainer
L11: a Vaadin UI helper component (`TabContainer extends Div`) that swaps tab content is technical UI plumbing with no business logic, persistence, remote call or framework entry, and no other module uses it.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/DataGenerator.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.DataGenerator
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.DataGenerator
L23-30: a @PostConstruct hook seeds hard-coded demo products through productRepository.saveAll, which is a fixture shipped in main code and so `none`; the runner-up is `persistence`.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/ProductCatalogApp.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.ProductCatalogApp
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.ProductCatalogApp
L10: @SpringBootApplication with a main method at L16 starting the app makes it an entry, and no other module uses it so no api mark.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/application/ProductCatalog.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.application.ProductCatalog
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.application.ProductCatalog
L18: @Service marks it as an application service for browsing the catalog, and no other module uses it, so there is no api mark and no ext mark.
https://github.com/peholmst/DDDExample
service
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/domain/model/Product.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.domain.model.Product
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.domain.model.Product
L20: @Entity with @Table(name = "products") makes it persisted business data (domain); no other reactor module uses it, so no api, and it is a class, so no ext.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/domain/model/ProductId.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.domain.model.ProductId
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.domain.model.ProductId
L8: ProductId extends DomainObjectId is a value object used as the identifier of the stored Product aggregate (Product L22 extends AbstractAggregateRoot<ProductId>, ProductRepository uses it as the JPA key), so it is domain rather than none; no other module uses it, so no api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/domain/model/ProductRepository.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.domain.model.ProductRepository
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.domain.model.ProductRepository
L11: extends JpaRepository<Product, ProductId> makes it a Spring Data repository over the application's own store, with no other-module users and no implementations in the reactor, so it gets no marks.
https://github.com/peholmst/DDDExample
persistence
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/infra/hibernate/ProductIdType.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.infra.hibernate.ProductIdType
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.infra.hibernate.ProductIdType
L10: ProductIdType extends DomainObjectIdCustomType is a Hibernate custom type adapter (framework SPI plumbing, not a store reader/writer), so none; runner-up is persistence.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
product-catalog/src/main/java/net/pkhapps/ddd/productcatalog/rest/ProductCatalogController.java
2.1
DDDExample/net.pkhapps.ddd.productcatalog.rest.ProductCatalogController
2026-11-14T00:00:00
Apache-2.0
[]
product-catalog
DDDExample
net.pkhapps.ddd.productcatalog.rest.ProductCatalogController
L17-L18: @RestController with @RequestMapping("/api/products") and @GetMapping handlers make it a framework-invoked REST entry point; it is package-private and unused by other modules, so no api mark.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/SharedConfiguration.java
2.1
DDDExample/net.pkhapps.ddd.shared.SharedConfiguration
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.SharedConfiguration
L9: @Configuration (with @ComponentScan, @EnableJpaRepositories, @EnableScheduling) configures the application, and four other modules' main code (e.g. InvoicingApp) use it, so it is also api.
https://github.com/peholmst/DDDExample
config
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/AbstractAggregateRoot.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.AbstractAggregateRoot
2026-11-14T00:00:00
Apache-2.0
[ "api", "ext" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.AbstractAggregateRoot
L17: @MappedSuperclass on a base aggregate root is persisted-data base entity (domain per 3.4), used by Invoice, Order, Product and PickingList in four other modules, which makes it api and ext.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/AbstractEntity.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.AbstractEntity
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.AbstractEntity
L16: @MappedSuperclass marks this base entity as persisted data (domain); it is used by InvoiceItem and OrderItem in other modules (api), but has only abstract subclasses/entities in a single hierarchy and is not an interface, so no ext is claimed beyond what the guide requires.
https://github.com/peholmst/DDDExample
domain
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/ConcurrencySafeDomainObject.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.ConcurrencySafeDomainObject
2026-11-14T00:00:00
Apache-2.0
[ "api", "ext" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.ConcurrencySafeDomainObject
L9: the interface extends DomainObject and its four implementations (Invoice, Order, Product, PickingList) are all JPA @Entity aggregates, so it takes their role `domain` (step 9), with `none` as runner-up; those four implementations in other modules make it `api` and `ext`.
https://github.com/peholmst/DDDExample
domain
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/DeletableDomainObject.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.DeletableDomainObject
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.DeletableDomainObject
L7: DeletableDomainObject extends DomainObject and its only implementer is the JPA @Entity Product (persisted data, rule 4.5), so it takes `domain` (runner-up `none`); it is public and used by product-catalog's Product, so `api`, and with one implementation there is no `ext`.
https://github.com/peholmst/DDDExample
domain
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/DomainEvent.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.DomainEvent
2026-11-14T00:00:00
Apache-2.0
[ "api", "ext" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.DomainEvent
L10: `DomainEvent extends DomainObject` is the interface of domain events, and all five implementations (OrderCreated, OrderStateChanged and others) are events, so it takes `event` (rule 4.5); the other modules invoicing, orders and shipping use it, giving `api`, and the five implementations give `ext`.
https://github.com/peholmst/DDDExample
event
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/DomainObject.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.DomainObject
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.DomainObject
L8: `public interface DomainObject extends Serializable {}` is an empty marker interface; its sub-interfaces (ValueObject, DomainEvent, etc.) disagree on role and are also marker types, no other module uses it, and no `ext` since they are sub-interfaces rather than implementations meant for implementing.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/DomainObjectId.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.DomainObjectId
2026-11-14T00:00:00
Apache-2.0
[ "api", "ext" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.DomainObjectId
L14: abstract UUID-wrapping value object that stored aggregates keep as their primary key (AbstractEntity<ID extends DomainObjectId>, Hibernate custom types), so it is domain (rule 3.4), runner-up none; it is imported by four other modules and has ten subclasses.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/IdentifiableDomainObject.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.IdentifiableDomainObject
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.IdentifiableDomainObject
L12: a marker-style interface `IdentifiableDomainObject<ID> extends DomainObject` with only `id()`; its implementations (AbstractEntity is a mapped superclass, DomainEventLog is not persisted, ProcessedRemoteEvent is an entity) don't agree on one role, so rule 4.5 gives none (runner-up domain); no other module uses it ...
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/base/ValueObject.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.base.ValueObject
2026-11-14T00:00:00
Apache-2.0
[ "api", "ext" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.base.ValueObject
L6: `public interface ValueObject extends DomainObject` is a marker whose implementations (e.g. the @Embeddable OrderStateChange, Address, Money) are stored value objects, so it takes `domain` by rule 4.5, with `none` as the runner-up because the marker itself holds no data; it is used by orders and shipping (api) and ...
https://github.com/peholmst/DDDExample
domain
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/financial/Currency.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.financial.Currency
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.financial.Currency
L6: `public enum Currency` is an enum, so it is always `none` (step 1), and it is also used by the invoicing, orders and product-catalog modules, so it gets `api`.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/financial/CurrencyConverter.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.financial.CurrencyConverter
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.financial.CurrencyConverter
L8: the interface takes the role of its only implementation (rule 4.5), CurrencyConverterClient, which fetches rates from exchangeratesapi.io through a RestTemplate, so it is a client (runner-up: service, since L6 calls it a domain service); the `orders` module uses it, so it gets api, and it has one implementation, so...
https://github.com/peholmst/DDDExample
client
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/financial/Money.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.financial.Money
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.financial.Money
L14: `Money implements ValueObject` is a value object held by stored aggregates (Invoice, Order, Product in other modules), so it is `domain` (runner-up `none`), and `api` because invoicing, orders and product-catalog main code use it.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/financial/VAT.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.financial.VAT
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.financial.VAT
L13: VAT implements ValueObject and is persisted as an Integer column via VATAttributeConverter and held by stored aggregates (Invoice, OrderItem, Product), so it is a domain value object (runner-up none); it is imported by invoicing, orders and product-catalog, hence api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/financial/converter/VATAttributeConverter.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.financial.converter.VATAttributeConverter
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.financial.converter.VATAttributeConverter
L12: a JPA AttributeConverter<VAT, Integer> is a converter, which is always `none` under step 1 (section 3.8). The runner-up is `persistence`, but it only maps a value and does not read or write the store.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/geo/Address.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.geo.Address
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.geo.Address
L11: @Embeddable (with L12 @MappedSuperclass) makes Address a persisted value object held by stored aggregates, and it is used by the invoicing, orders and shipping modules, so it is domain plus api; with only one subclass (RecipientAddress) it is not ext.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/geo/CityName.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.geo.CityName
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.geo.CityName
L13: CityName is a ValueObject held as the `city` field of the stored Address aggregate (Address L20) and persisted through CityNameConverter, so it is domain (runner-up none), and other modules' main code imports it, so api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/geo/Country.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.geo.Country
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.geo.Country
L6: `public enum Country` is an enum, so it is always `none` (section 3.8). It is also public and used by main code of the invoicing, orders and shipping modules, so it gets `api`.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/geo/PostalCode.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.geo.PostalCode
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.geo.PostalCode
L13: PostalCode is a value object (implements ValueObject) held by the stored Address aggregate (Address L22) and persisted via the JPA PostalCodeConverter, so it is domain (runner-up none); it is public and used by the invoicing, orders and shipping modules, so api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/geo/converter/CityNameConverter.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.geo.converter.CityNameConverter
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.geo.converter.CityNameConverter
L12: a JPA AttributeConverter for CityName is a converter, which is always `none` under step 1. It has no users in other modules, so it gets no marks.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/domain/geo/converter/PostalCodeConverter.java
2.1
DDDExample/net.pkhapps.ddd.shared.domain.geo.converter.PostalCodeConverter
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.domain.geo.converter.PostalCodeConverter
L12: a JPA AttributeConverter for PostalCode is a converter, which step 1 (section 3.8) makes always `none`; no other module uses it, so no marks.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/DomainEventLog.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.DomainEventLog
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.DomainEventLog
L16: DomainEventLog is a package-private-constructed read view that DomainEventLogService assembles from StoredDomainEvents (service L68) rather than a mapped or persisted entity, so it is `none` (runner-up `domain` because it implements IdentifiableDomainObject), and no other module uses it so there is no `api`.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/DomainEventLogAppender.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.DomainEventLogAppender
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.DomainEventLogAppender
L23: @TransactionalEventListener(phase = BEFORE_COMMIT) makes its main method a framework-invoked event listener (rule 4.2), beating the @Service annotation at L14 (runner-up service).
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/DomainEventLogId.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.DomainEventLogId
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.DomainEventLogId
L11: it is a plain value object (a low/high ID range) that only identifies a computed DomainEventLog and is not stored by any aggregate, so it is not `domain`; no other module uses it, so no `api`.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/DomainEventLogService.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.DomainEventLogService
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.DomainEventLogService
L23: @Service on a class that stores and retrieves domain event logs (paging logic in L56-L68) makes it service; the repository it uses is persistence, but this is the service layer, and no other module uses it.
https://github.com/peholmst/DDDExample
service
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/ProcessedRemoteEvent.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.ProcessedRemoteEvent
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.ProcessedRemoteEvent
L16: @Entity with @Table(name = "processed_remote_events") makes it persisted data, and it is package-private and unused by other modules, so no api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/ProcessedRemoteEventRepository.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.ProcessedRemoteEventRepository
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.ProcessedRemoteEventRepository
L8: extends JpaRepository<ProcessedRemoteEvent, String> is a Spring Data repository over the application's own store; it is package-private and no other module uses it, so no api or ext.
https://github.com/peholmst/DDDExample
persistence
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/RemoteEventLog.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.RemoteEventLog
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.RemoteEventLog
L13: `RemoteEventLog` is a read-only view of a remote log. Its only implementation is a private nested class in `RemoteEventLogServiceClient`, so no top-level implementation gives it a role (runner-up: client). No other module uses it and it has fewer than two implementations, so it gets no marks.
https://github.com/peholmst/DDDExample
none
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/RemoteEventLogService.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.RemoteEventLogService
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.RemoteEventLogService
L9: the interface's only implementation, RemoteEventLogServiceClient, reads event logs from a remote server through a RestTemplate, so rule 4.5 gives it `client` (runner-up `service`). InvoicingApp and ShippingApp in other modules use it, so it gets `api`. It has a single implementation, so no `ext`.
https://github.com/peholmst/DDDExample
client
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/RemoteEventProcessor.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.RemoteEventProcessor
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.RemoteEventProcessor
L52: @Scheduled(fixedDelay = 20000) on processEvents() makes the framework start the unit of work, which beats the runner-up `service` (L25 @Service, rule 4.2); it is package-private and unused by other modules, so there is no api mark.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/RemoteEventTranslator.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.RemoteEventTranslator
2026-11-14T00:00:00
Apache-2.0
[ "api", "ext" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.RemoteEventTranslator
L13: the interface RemoteEventTranslator is implemented by two @Service classes (OrderProcessedEventTranslator, OrderCreatedEventTranslator), so rule 4.5 gives it their role (service) with the runner-up being none because the translators are arguably technical machinery. It is also used by the invoicing and shipping mo...
https://github.com/peholmst/DDDExample
service
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/StoredDomainEvent.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.StoredDomainEvent
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.StoredDomainEvent
L21: @Entity with @Table(name = "event_log") makes it persisted data (domain, beating event per rule 4.3), and it is public and used by the invoicing and shipping modules' translators, so it is api.
https://github.com/peholmst/DDDExample
domain
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/eventlog/StoredDomainEventRepository.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.eventlog.StoredDomainEventRepository
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.eventlog.StoredDomainEventRepository
L12: extends JpaRepository<StoredDomainEvent, Long> is a Spring Data repository over the application's own store; it is package-private with no use from other modules, so no api or ext.
https://github.com/peholmst/DDDExample
persistence
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/hibernate/DomainObjectIdCustomType.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.hibernate.DomainObjectIdCustomType
2026-11-14T00:00:00
Apache-2.0
[ "api", "ext" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.hibernate.DomainObjectIdCustomType
L20: an abstract Hibernate custom-type adapter (framework SPI plumbing, not a store accessor or entity) so role is none, but it is public, used by other modules' subclasses (api) and has six subclasses (ext).
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/hibernate/DomainObjectIdTypeDescriptor.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.hibernate.DomainObjectIdTypeDescriptor
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.hibernate.DomainObjectIdTypeDescriptor
L17: a Hibernate AbstractTypeDescriptor that only converts ID values to and from strings, which is technical type-mapping plumbing and not persistence or business logic. Other modules' main code (InvoiceIdType, OrderIdType and others) use it, so it is `api`.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/infra/jackson/RawJsonDeserializer.java
2.1
DDDExample/net.pkhapps.ddd.shared.infra.jackson.RawJsonDeserializer
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.infra.jackson.RawJsonDeserializer
L16: a Jackson JsonDeserializer<String> is technical serialization plumbing with no business logic, and no other module uses it, so it has no role or marks.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
unsure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/rest/client/CurrencyConverterClient.java
2.1
DDDExample/net.pkhapps.ddd.shared.rest.client.CurrencyConverterClient
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.rest.client.CurrencyConverterClient
L87: restTemplate.getForEntity(uri, RatesDTO.class) fetches rates from a remote exchange-rate API, which is the class's main purpose, so it is client; the runners-up are entry (L75 @Scheduled refresh) and service (@Service at L26). It is package-private and has no other implementations, so it gets no marks.
https://github.com/peholmst/DDDExample
client
dev
passes disagreed or unsure; pass a taken; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/rest/client/RemoteEventLogServiceClient.java
2.1
DDDExample/net.pkhapps.ddd.shared.rest.client.RemoteEventLogServiceClient
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.rest.client.RemoteEventLogServiceClient
L71: restTemplate.exchange(uri, HttpMethod.GET, ...) calls a remote event-log REST service as its main purpose, and invoicing's InvoicingApp and shipping's ShippingApp use it, so it is also api.
https://github.com/peholmst/DDDExample
client
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/rest/controller/EventLogController.java
2.1
DDDExample/net.pkhapps.ddd.shared.rest.controller.EventLogController
2026-11-14T00:00:00
Apache-2.0
[]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.rest.controller.EventLogController
L23: @RestController with @GetMapping handlers (L35, L45) makes it a framework-invoked entry; it is package-private and unused by other modules, so no api mark.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/ui/converter/StringToCityNameConverter.java
2.1
DDDExample/net.pkhapps.ddd.shared.ui.converter.StringToCityNameConverter
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.ui.converter.StringToCityNameConverter
L8: it implements Vaadin's Converter<String, CityName>, which makes it a converter and so `none` under step 1. The `orders` module's CreateOrderView uses this public class, so it gets `api`.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shared-kernel/src/main/java/net/pkhapps/ddd/shared/ui/converter/StringToPostalCodeConverter.java
2.1
DDDExample/net.pkhapps.ddd.shared.ui.converter.StringToPostalCodeConverter
2026-11-14T00:00:00
Apache-2.0
[ "api" ]
shared-kernel
DDDExample
net.pkhapps.ddd.shared.ui.converter.StringToPostalCodeConverter
L8: implements Vaadin Converter<String, PostalCode>, a converter, which is always `none` (step 1); it is public and used by the orders module's CreateOrderView, so `api`.
https://github.com/peholmst/DDDExample
none
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shipping/src/main/java/net/pkhapps/ddd/shipping/ShippingApp.java
2.1
DDDExample/net.pkhapps.ddd.shipping.ShippingApp
2026-11-14T00:00:00
Apache-2.0
[]
shipping
DDDExample
net.pkhapps.ddd.shipping.ShippingApp
L16: @SpringBootApplication with a main method at L22 starting the app makes it an entry; the runner-up is config because of its @Bean methods at L26 and L31.
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shipping/src/main/java/net/pkhapps/ddd/shipping/application/ShippingListCreator.java
2.1
DDDExample/net.pkhapps.ddd.shipping.application.ShippingListCreator
2026-11-14T00:00:00
Apache-2.0
[]
shipping
DDDExample
net.pkhapps.ddd.shipping.application.ShippingListCreator
L35: @TransactionalEventListener on onOrderCreatedEvent makes the framework invoke it to start a unit of work (rule 4.2 beats the runner-up, service, from @Service at L18).
https://github.com/peholmst/DDDExample
entry
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
claude:claude-sonnet-5-5
null
94da2a2e59ef1375bc522ae828a0e123ebbb7373
sure
shipping/src/main/java/net/pkhapps/ddd/shipping/application/ShippingService.java
2.1
DDDExample/net.pkhapps.ddd.shipping.application.ShippingService
2026-11-14T00:00:00
Apache-2.0
[]
shipping
DDDExample
net.pkhapps.ddd.shipping.application.ShippingService
L17: @Service on a class whose startAssembly/ship methods (L41-55) change picking list state and coordinate the repository and order catalog client; no other module uses it, so no api or ext.
https://github.com/peholmst/DDDExample
service
dev
two passes agree; bulk-approved by person:alejandro on 2026-11-14, not reviewed row by row
all
End of preview. Expand in Data Studio

ModuleMap-Bench 2.0.1

Architectural roles of Java types in 30 open-source projects — Spring-layered and clean, hexagonal or domain-driven — split by project for honest evaluation.

Each labelled type has one role — entry, client, service, domain, persistence, event, config or none — usage marks (api, ext) where they were labelled, a one-sentence rationale citing the line it rests on, and full provenance: repository, commit, licence, file, annotator, guideline version, and how the label was settled.

At a glance

Labelled types 2,566 in 30 projects (v1: 620 in 8)
Splits, by project dev 1,487 · test 703 · suggester_holdout 261 · train 115
Roles none 1,111 · service 338 · entry 302 · domain 268 · persistence 240 · config 149 · client 86 · event 72
Marks labelled 1,493 rows (api 423 · ext 103)
Families 849, with the majority role of their labelled members
Weak corpus 1,096 types of 11 permissively licensed repositories, role from a vocabulary
Licences of the projects Apache-2.0, MIT, MulanPSL-2.0 (each as found at the repository's root)
Content identifiers, labels, rationales, computed features — no source code

Splits

Splits are by project, never by row, so no project is seen in two of them.

Split Projects What it is for
dev 19: the eight of v1, apollo, eladmin, jhipster-sample-app, library, litemall, operaton, spring-petclinic, spring-petclinic-microservices, cqrs-eventsourcing-kafka, DDDExample, authentication-microservice-with-domain-driven-design developing rules and models; numbers from it are optimistic
test 7, frozen: kadai, microcks, shopizer (Spring-layered); HexaStock, hexagonal_ddd, java-clean-architecture, ddd-example-ecommerce (clean) the published role and ranking numbers, run once
suggester_holdout 3: digiwf-core, lamp-cloud, microservices-platform only the role suggester's gate
train continew-admin (+ the weak corpus) what a learned suggester may learn from, beside dev

How it was made

  • Sampling. v1 types were drawn stratified by the last word of the name (stratum: legacy). New projects: a uniform draw within each module, plus a recorded boost of rare roles and marks (stratum: random or boost:<signal>); the clean-architecture projects are labelled whole (stratum: all). Report numbers on the random part when comparing with other work.
  • Labelling. Every label was produced by an LLM (Claude) reading the type's source and, where the guide asks, its supertypes, subtypes and users in the same repository — never the output of a tool that assigns roles — under LABELING.md 2.1. New projects were labelled in two independent passes with differently worded prompts and order (Cohen's κ between passes 0.953 and 0.948); where they agreed the label stands, where they did not, pass a was taken. A second pass over the dev labels agreed with the first at κ 0.936.
  • Review. The owner approved the new labels in bulk; no person reviewed them row by row, so the label error rate is not estimated. status says how each label was settled.

Results of agentkit's Map (for reference)

On test (703 types), agentkit's rules at commit 26e2309: 76.7 % right roles (Wilson 95 % lower bound 73.4 %) — Spring-layered 74.6 %, clean architecture 79.2 %; macro recall without none 67.5 %. The same rules before this round of work: 65.0 % (+11.7 points, paired bootstrap [9.1, 14.4]); on clean architecture 54.6 → 79.2 %. On dev the rules reach 92.5 % — they were written looking at it. Next-change visibility (share of the types a commit modifies that the Map showed before it): on dev +3.2 points over an alphabetical list [1.9, 4.5]; on test +0.7, interval containing zero.

Role suggester (proposes a role for families no rule names), trained on dev + train families and this release's weak corpus: gradient boosting with conformal abstention, chosen leaving one project out (Wilson lower bound 0.898 on 224 suggestions). On suggester_holdout it showed 43 suggestions right of 48 (89.6 %, lower bound 0.778) — fewer than the 50 the gate requires, so the gate is not evaluated, and at that share it would not reach 0.90. This was the holdout's second look: a model trained on 1.0's full weak corpus had shown 42 of 45 (93.3 %, lower bound 0.821).

Limitations

  • LLM labels, not reviewed row by row. Labels where the two passes disagreed (165 of the 703 test types) are noticeably harder: agentkit scores 63 % on them against 81 % on the agreed ones.
  • Rare roles. client (86) and event (72) are still small; event in the random part of the new projects is rarer still.
  • Families carry the majority role of their labelled members, not a label of their own; families overlap (a type can be in several).
  • Scope. Java, Maven, Spring-family or framework-free code; many projects come from the Chinese open-source ecosystem.
  • Weak corpus roles come from agentkit's vocabulary, not from people; only repositories with an MIT or Apache-2.0 licence are included (11 of the 33 the corpus was built from).

Changes from 2.0.0

  • The role suggester's result, from the model trained on this release's permissive weak corpus.

Changes from 1.0.0

  • 30 projects instead of 8; splits by project; marks labelled; provenance per row; families and the weak corpus as configurations.
  • Notes rewritten as one-sentence rationales citing a line; guide 2.1 replaces 1.1.
  • Removed: BookStoreApp-Distributed-Application, buckpal, java-ddd-example (no licence), fineract (Gradle), and agentkit's six reserved projects (evaluated once before this release).
  • The history configuration of v1 (next-change visibility at agentkit's commit of 2026-11-10) is not carried over: the harness that recomputes it is in the ModuleMap-Bench repository.

Licence and attribution

Data and documentation: CC BY 4.0. Scripts: MIT. Identifiers come from the projects listed in data/types.jsonl and tools/weak_licences.json, each under its own licence; no source code is included.

Downloads last month
158