Class TraceEvalJob

java.lang.Object
dev.dokimos.server.entity.TraceEvalJob

@Entity public class TraceEvalJob extends Object
A unit of online scoring work: score one ingested TraceSpan's derived output against one TraceEvalRule's judge configuration. A background worker claims a pending job, calls the judge, and records the score. The configuration is snapshotted onto the job at enqueue time so a later rule edit does not change in-flight work. At most one job exists per (span, rule) pair.
  • Constructor Details

  • Method Details

    • getId

      public UUID getId()
    • getSpan

      public TraceSpan getSpan()
    • getRule

      public TraceEvalRule getRule()
    • getConnection

      public LlmConnection getConnection()
    • getTenantId

      public String getTenantId()
    • getStatus

      public TraceEvalJobStatus getStatus()
    • setStatus

      public void setStatus(TraceEvalJobStatus status)
    • getEvaluatorName

      public String getEvaluatorName()
    • getCriteria

      public String getCriteria()
    • getMinScore

      public double getMinScore()
    • getMaxScore

      public double getMaxScore()
    • getThreshold

      public Double getThreshold()
    • getScore

      public Double getScore()
    • setScore

      public void setScore(Double score)
    • getSuccess

      public Boolean getSuccess()
    • setSuccess

      public void setSuccess(Boolean success)
    • getReason

      public String getReason()
    • setReason

      public void setReason(String reason)
    • getAttemptCount

      public int getAttemptCount()
    • setAttemptCount

      public void setAttemptCount(int attemptCount)
    • getLastError

      public String getLastError()
    • setLastError

      public void setLastError(String lastError)
    • getCreatedAt

      public Instant getCreatedAt()
    • getClaimedAt

      public Instant getClaimedAt()
    • setClaimedAt

      public void setClaimedAt(Instant claimedAt)
    • getCompletedAt

      public Instant getCompletedAt()
    • setCompletedAt

      public void setCompletedAt(Instant completedAt)