FileBackendContract

org.llm4s.agent.testkit.FileBackendContract
See theFileBackendContract companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final class EditSubject(val name: String, backend: FileBackend, val support: ReplaySupport, seed: (VPath, String) => Unit, read: VPath => Result[String], applied: () => Int) extends Subject

A ReplayContract.Subject over a file backend: slot n is the file /replay-<n>.txt, seeded x, and the effect is edit("x", "xy"), which shows a second application (xyy). seed writes a slot's file straight to the target, as setup and as another writer; observe reads it from the target; applied counts a transactional target's applied keys.

A ReplayContract.Subject over a file backend: slot n is the file /replay-<n>.txt, seeded x, and the effect is edit("x", "xy"), which shows a second application (xyy). seed writes a slot's file straight to the target, as setup and as another writer; observe reads it from the target; applied counts a transactional target's applied keys.

Attributes

Supertypes
trait Subject
class Object
trait Matchable
class Any