Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('validation'): (None, {}), NamedSplit('test'): ('xml', {})}
Error code:   FileFormatMismatchBetweenSplitsError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Scarf Benchmark

Documentation Leaderboard Quickstart

Scarf (Self-Contained Application Refactoring) is a benchmark suite for evaluating AI agents' ability to migrate enterprise Java applications across Jakarta EE, Quarkus, and Spring while preserving functionality, idiomatic patterns, and architectural integrity.

Applications Layers Frameworks Tests
102 6 3 1,331

All applications have been manually converted and verified by experienced developers.

Resources: Quickstart · Installation · Building an Agent · Leaderboard · Submit Results


Releases

Version Date Description
v0.1.2 2026-03-25 Standardized all Dockerfiles to use framework-native run commands (spring-boot:run, quarkus:run, liberty:run)
v0.1.1 2026-03-24 Consolidated multi-module coffee-shop (Jakarta, Spring) into single Maven modules for strict architectural parity across frameworks; Dockerfile updates for PetClinic
v0.1.0 2026-03-19 Initial release — 87 focused examples across 5 layers and 3 frameworks, plus 15 whole application variants

Benchmark Applications

Migration Paths

Source Target
Jakarta EE Quarkus
Jakarta EE Spring
Quarkus Spring
Spring Quarkus

Focused Examples

Layer Description
Business Domain Stateful, stateless, and singleton EJBs (cart, converter, counter, helloservice, standalone)
Dependency Injection CDI qualifiers, interceptors, decorators, producer methods, event observers
Infrastructure Managed executors, async EJBs, timer services
Integration Jakarta Batch, JMS, message-driven beans, JAX-WS, JCA
Persistence JPA entities, relationships, composite keys, JPQL queries
Presentation Servlets, JAX-RS, WebSocket, SSE, file uploads, filters
Security Identity stores, form/basic auth, EJB security, RBAC, password hashing

Whole Applications

Application Description
CargoTracker Domain-Driven Design cargo shipping tracker with Jakarta Faces, CDI, JPA, REST, Batch, and JMS
Coffee Shop Event-driven microservices (Orders, Barista, Kitchen) via Apache Kafka with MicroProfile
DayTrader High-performance stock trading benchmark with JPA optimistic locking and transaction management
PetClinic Veterinary clinic management with Jakarta Faces (PrimeFaces) and complex JPA relationships
RealWorld Medium.com clone (Conduit) with MicroProfile JWT, JAX-RS, and Testcontainers integration tests

Citation

@misc{scarfbench,
  author       = {Krishna, Rahul and McGinn, Bridget and Pavuluri, Raju},
  title        = {{ScarfBench}: A Benchmark for AI-Driven Enterprise Java Framework Migration},
  year         = {2026},
  howpublished = {\url{https://scarfbench.info}},
}

Contact

Name Email
Rahul Krishna imralk+oss@gmail.com
Bridget McGinn bridget.mcginn@ibm.com
Raju Pavuluri pavuluri@us.ibm.com

License

See LICENSE file for details.

Downloads last month
1,830

Collection including ibm-research/ScarfBench