Evaluation

Description

An evaluation of a hypercert or other claim.

Lexicon

Lexicon ID: org.hypercerts.claim.evaluation

Key: tid

PropertyTypeRequiredDescriptionComments
subjectrefA strong reference to the evaluated claim(e.g measurement, hypercert, contribution, etc)
evaluatorsarrayDIDs of the evaluators
evaluationsarrayEvaluation data (URIs or blobs) containing detailed reports or methodology
summarystringBrief evaluation summary
locationrefAn optional reference for georeferenced evaluationsReferences must conform to app.certified.location
createdAtstringClient-declared timestamp when this record was originally created

Code Example

The SDK is in active development. Package names and API methods may change.

Create an evaluation record:

TypeScript
import { BskyAgent } from '@atproto/api'


const agent = new BskyAgent({ service: 'https://pds.example.com' })
await agent.login({ identifier: 'your-handle', password: 'your-app-password' })


const response = await agent.api.com.atproto.repo.createRecord({
  repo: agent.session.did,
  collection: 'org.hypercerts.claim.evaluation',
  record: {
    // Strong reference to the evaluated claim
    subject: {
      uri: 'at://did:plc:abc123/org.hypercerts.claim.activity/tid123',
      cid: 'bafyrei...',
    },
    // DIDs of the evaluators
    evaluators: ['did:plc:evaluator1'],
    // Brief evaluation summary
    summary: 'High-quality maintenance work with consistent release cadence',
    // Timestamp when this record was created
    createdAt: new Date().toISOString(),
  },
})


console.log('Created:', response.data.uri)