{"id":"git-rename-score","version":"1.0.0","description":"Score Git-style line-chunk content similarity as an exact integer percentage with byte evidence.","supported_operations":["score git rename similarity","compare file content similarity","calculate rename percentage","measure copied content bytes","git diff similarity score","estimate rename threshold match"],"unsupported_operations":["run git diff","compare file names"],"semantics":["Models Git diffcore copied-byte scoring: identical newline-preserving byte chunks are counted as a multiset.","Score is floor(100 * copied_bytes / max(source_bytes, destination_bytes)); two empty contents score 100.","Text is encoded as UTF-8 without normalization; lone surrogates are rejected."],"limits":{"max_content_bytes":65536},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["source","destination"],"properties":{"source":{"type":"string","maxLength":65536},"destination":{"type":"string","maxLength":65536}}},"output_schema":{"type":"object","additionalProperties":false,"required":["reference","version","score","copied_bytes","source_bytes","destination_bytes"],"properties":{"reference":{"type":"string","const":"Git 2.51.0 diffcore-rename content similarity model"},"version":{"type":"string","const":"1.0.0"},"score":{"type":"integer","minimum":0,"maximum":100},"copied_bytes":{"type":"integer","minimum":0,"maximum":65536},"source_bytes":{"type":"integer","minimum":0,"maximum":65536},"destination_bytes":{"type":"integer","minimum":0,"maximum":65536}}},"examples":[{"input":{"source":"a\nb\n","destination":"a\nc\n"},"output":{"reference":"Git 2.51.0 diffcore-rename content similarity model","version":"1.0.0","score":50,"copied_bytes":2,"source_bytes":4,"destination_bytes":4}},{"input":{"source":"","destination":""},"output":{"reference":"Git 2.51.0 diffcore-rename content similarity model","version":"1.0.0","score":100,"copied_bytes":0,"source_bytes":0,"destination_bytes":0}}],"execute_url":"/v1/tools/git-rename-score/versions/1.0.0/execute"}