Refit the cut points from reviewers' decisions
const url = 'https://example.com/api/v1/config/calibrate';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"apply":false,"pack_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/config/calibrate \ --header 'Content-Type: application/json' \ --data '{ "apply": false, "pack_id": "example" }'Without apply this is the same dry run as the reliability report. With apply the fitted
cut points become a new configuration version (the pack’s file is not edited) and active; runs
already made keep the version they used. Nothing here ever runs by itself.
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Successful Response
The report, and what applying did (nothing when applied is false).
object
How often the readings behind runs of one band were right (a report; cut-offs never move).
object
Backend-assigned sharpness band of the model output.
Labelled readings a probe needs before it is tuned
Cases whose newest decision was counted
How one fact probe fared against the reviewers’ outcomes, and the cut points it would get.
object
Decided readings that were right at the default cuts
Labelled readings for this probe
Counted decisions that are synthetic demo data
Example
{ "bands": [ { "band": "confident", "status": "reported" } ], "probes": [ { "status": "fitted" } ], "synthetic_outcomes": 0}Unauthorized
Application/problem+json body. Extension members (for example job_id) are allowed.
object
One validation failure: where, what, and a stable machine code (never the input value).
object
Example
{ "type": "about:blank"}Forbidden
Application/problem+json body. Extension members (for example job_id) are allowed.
object
One validation failure: where, what, and a stable machine code (never the input value).
object
Example
{ "type": "about:blank"}Not Found
Application/problem+json body. Extension members (for example job_id) are allowed.
object
One validation failure: where, what, and a stable machine code (never the input value).
object
Example
{ "type": "about:blank"}Validation Error
object
object
object
Example generated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}Map data © OpenStreetMap contributors, under the Open Database Licence. Code under the Apache-2.0 licence. Made by Yogesh.
Changeset Second Opinion is an independent open source tool for OpenStreetMap reviewers. It is not endorsed by, sponsored by or affiliated with the OpenStreetMap Foundation. OpenStreetMap is a trademark of the OpenStreetMap Foundation, used under itstrademark policy.