{"slug":"www-mahastrategies-com-api-v1-micro-packing-displacement-ana-7aca4c","title":"Compare strict rank-prefix packing with rank-order greedy-fit and score-density ","host":"www.mahastrategies.com","method":"POST","resource":"https://www.mahastrategies.com/api/v1/micro/packing-displacement-analysis","category":"market","description":"Compare strict rank-prefix packing with rank-order greedy-fit and score-density greedy-fit for up to 64 passages under a 1–2048 token budget. Report evidence displacement and optional observed selection violations. Uses declared integer costs/scores; no tokenization or causal attribution.","price_listed":0.078,"price_asked":0.078,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":307,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"budget":8,"candidates":[{"evidenceIds":["e1"],"passageId":"p1","rank":1,"score":9,"tokens":6},{"evidenceIds":["e2"],"passageId":"p2","rank":2,"score":8,"tokens":5},{"evidenceIds":["e2"],"passageId":"p3","rank":3,"score":3,"tokens":2}],"dataClass":"synthetic","observedSelectedPassageIds":null,"requiredEvidenceIds":["e1","e2"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"budget":{"maximum":2048,"minimum":1,"type":"integer"},"candidates":{"maxItems":64,"minItems":1,"type":"array"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"observedSelectedPassageIds":{"anyOf":[{"maxItems":64,"minItems":0,"type":"array"},{"type":"null"}]},"requiredEvidenceIds":{"maxItems":64,"minItems":1,"type":"array"}},"required":["dataClass","budget","requiredEvidenceIds","candidates","observedSelectedPassageIds"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"amountBaseUnits":{"enum":["78000"],"type":"string"},"boundaries":{"maxItems":128,"minItems":0,"type":"array"},"inputDigest":{"maxLength":71,"type":"string"},"offerId":{"enum":["packing-displacement-analysis"],"type":"string"},"receiptDigest":{"maxLength":71,"type":"string"},"result":{"type":"object"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"}},"required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.078,"price_match":true,"latency_ms":307,"error":null}],"description_full":"Compare strict rank-prefix packing with rank-order greedy-fit and score-density greedy-fit for up to 64 passages under a 1–2048 token budget. Report evidence displacement and optional observed selection violations. Uses declared integer costs/scores; no tokenization or causal attribution.","last_updated":"2026-10-11T09:01:02.131Z","schemes":["exact"]}