CtrlK
BlogDocsLog inGet started
Tessl Logo

jpc0/provably-correct-software

Build provably correct software using formal methods like Hoare Logic, Weakest Preconditions, and Design-by-Contract.

99

1.45x

Quality

100%

Does it follow best practices?

Impact

99%

1.45x

Average score across 5 eval scenarios

Overview
Skills
Evals
Files

rubric.jsonevals/scenario-3/

{
  "context": "Tests whether the agent uses Design-by-Contract (DbC) principles, including class invariants and the rejection of defensive programming.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Precondition defined",
      "description": "Explicitly defines preconditions for public methods (e.g. put, get).",
      "max_score": 20
    },
    {
      "name": "Postcondition defined",
      "description": "Explicitly defines postconditions for public methods.",
      "max_score": 20
    },
    {
      "name": "Class Invariant",
      "description": "Defines a class invariant that must be true for all instances of the buffer.",
      "max_score": 20
    },
    {
      "name": "No Defensive Programming",
      "description": "Does NOT include redundant 'if' checks for things covered by the precondition in method bodies.",
      "max_score": 20
    },
    {
      "name": "Native Assertions",
      "description": "Uses native assertions (e.g., assert) to enforce the contract.",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i jpc0/provably-correct-software

evals

SKILL.md

tile.json