Fingerprint the loaded data
stata_signatureRead and compare Stata dataset fingerprints—observations, variables, data hashes, and sort order—to prove whether a command or do-file changed the data, optionally loading a .dta first.
Instructions
Read the datasignature fingerprint of the dataset currently in memory: observations, variables, two data hashes, and the sort order. Compare two fingerprints to prove whether a command or do-file changed the data. Optionally load a .dta first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stata_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the load. | |
| dataset | No | Optional .dta path to load before fingerprinting. | |
| timeout | No | Seconds for the load (default 120). |