vpm-test

Generate Tests

Generate tests surgically targeted by the VPM graph. The graph provides ~200 tokens of context vs ~8000 tokens of raw code — ratio ~40x.

post/test/generate

Request

  • Base URL: https://hokmah.dev (the document declares no server; this is the origin it was published from)
  • URL: https://hokmah.dev/test/generate
  • Auth: none declared

Request body

project_idstring required
tenant_idstring required
changed_filesstring[] nullable
instructionstring
languagestring
frameworkstring
commit_messagestring
api_keystring nullable
modelstring nullable

Response

Successful Response

test_codestring required
languagestring required
frameworkstring required
files_coveredstring[] required
symbols_coveredstring[] required
invariants_checkedstring[] required
risk_scorenumber required
confidencenumber required
tokens_usedinteger required
context_tokensinteger required
savings_rationumber required

Baseline tokens / context tokens (approximate)

generation_time_msnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.