urt-rs / docs /research /rust-qvm-format.json
nmarshall's picture
gameplay: port float formatter arithmetic
ff6283b
Raw History Blame Contribute Delete
12.2 kB
{
"limits": "Rust recovered37914 integer/string/character subset matches55 complete original-QVM cases, including signed minimum and nonstandard flags. Float, unsafe narrow-left padding, malformed/unknown varargs reject explicitly; no native host printf claim.",
"probes": [
{
"rust": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"source": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"template": "%i"
},
{
"rust": {
"count": 3,
"cstring_hex": "2d313200"
},
"source": {
"count": 3,
"cstring_hex": "2d313200"
},
"template": "%i"
},
{
"rust": {
"count": 1,
"cstring_hex": "3000"
},
"source": {
"count": 1,
"cstring_hex": "3000"
},
"template": "%i"
},
{
"rust": {
"count": 3,
"cstring_hex": "31323300"
},
"source": {
"count": 3,
"cstring_hex": "31323300"
},
"template": "%i"
},
{
"rust": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"source": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"template": "%i"
},
{
"rust": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"source": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"template": "%d"
},
{
"rust": {
"count": 3,
"cstring_hex": "2d313200"
},
"source": {
"count": 3,
"cstring_hex": "2d313200"
},
"template": "%d"
},
{
"rust": {
"count": 1,
"cstring_hex": "3000"
},
"source": {
"count": 1,
"cstring_hex": "3000"
},
"template": "%d"
},
{
"rust": {
"count": 3,
"cstring_hex": "31323300"
},
"source": {
"count": 3,
"cstring_hex": "31323300"
},
"template": "%d"
},
{
"rust": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"source": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"template": "%d"
},
{
"rust": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"source": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"template": "%p"
},
{
"rust": {
"count": 3,
"cstring_hex": "2d313200"
},
"source": {
"count": 3,
"cstring_hex": "2d313200"
},
"template": "%p"
},
{
"rust": {
"count": 1,
"cstring_hex": "3000"
},
"source": {
"count": 1,
"cstring_hex": "3000"
},
"template": "%p"
},
{
"rust": {
"count": 3,
"cstring_hex": "31323300"
},
"source": {
"count": 3,
"cstring_hex": "31323300"
},
"template": "%p"
},
{
"rust": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"source": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"template": "%p"
},
{
"rust": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"source": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"template": "%05i"
},
{
"rust": {
"count": 5,
"cstring_hex": "30302d313200"
},
"source": {
"count": 5,
"cstring_hex": "30302d313200"
},
"template": "%05i"
},
{
"rust": {
"count": 5,
"cstring_hex": "303030303000"
},
"source": {
"count": 5,
"cstring_hex": "303030303000"
},
"template": "%05i"
},
{
"rust": {
"count": 5,
"cstring_hex": "303031323300"
},
"source": {
"count": 5,
"cstring_hex": "303031323300"
},
"template": "%05i"
},
{
"rust": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"source": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"template": "%05i"
},
{
"rust": {
"count": 12,
"cstring_hex": "2d2e2f2c292c282d2a2c282000"
},
"source": {
"count": 12,
"cstring_hex": "2d2e2f2c292c282d2a2c282000"
},
"template": "%-12i"
},
{
"rust": {
"count": 12,
"cstring_hex": "2d313220202020202020202000"
},
"source": {
"count": 12,
"cstring_hex": "2d313220202020202020202000"
},
"template": "%-12i"
},
{
"rust": {
"count": 12,
"cstring_hex": "30202020202020202020202000"
},
"source": {
"count": 12,
"cstring_hex": "30202020202020202020202000"
},
"template": "%-12i"
},
{
"rust": {
"count": 12,
"cstring_hex": "31323320202020202020202000"
},
"source": {
"count": 12,
"cstring_hex": "31323320202020202020202000"
},
"template": "%-12i"
},
{
"rust": {
"count": 12,
"cstring_hex": "32313437343833363437202000"
},
"source": {
"count": 12,
"cstring_hex": "32313437343833363437202000"
},
"template": "%-12i"
},
{
"rust": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"source": {
"count": 11,
"cstring_hex": "2d2e2f2c292c282d2a2c2800"
},
"template": "%.2i"
},
{
"rust": {
"count": 3,
"cstring_hex": "2d313200"
},
"source": {
"count": 3,
"cstring_hex": "2d313200"
},
"template": "%.2i"
},
{
"rust": {
"count": 1,
"cstring_hex": "3000"
},
"source": {
"count": 1,
"cstring_hex": "3000"
},
"template": "%.2i"
},
{
"rust": {
"count": 3,
"cstring_hex": "31323300"
},
"source": {
"count": 3,
"cstring_hex": "31323300"
},
"template": "%.2i"
},
{
"rust": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"source": {
"count": 10,
"cstring_hex": "3231343734383336343700"
},
"template": "%.2i"
},
{
"rust": {
"count": 0,
"cstring_hex": "00"
},
"source": {
"count": 0,
"cstring_hex": "00"
},
"template": "%s"
},
{
"rust": {
"count": 1,
"cstring_hex": "4100"
},
"source": {
"count": 1,
"cstring_hex": "4100"
},
"template": "%s"
},
{
"rust": {
"count": 5,
"cstring_hex": "414243444500"
},
"source": {
"count": 5,
"cstring_hex": "414243444500"
},
"template": "%s"
},
{
"rust": {
"count": 3,
"cstring_hex": "fffefd00"
},
"source": {
"count": 3,
"cstring_hex": "fffefd00"
},
"template": "%s"
},
{
"rust": {
"count": 6,
"cstring_hex": "286e756c6c2900"
},
"source": {
"count": 6,
"cstring_hex": "286e756c6c2900"
},
"template": "%s"
},
{
"rust": {
"count": 12,
"cstring_hex": "20202020202020202020202000"
},
"source": {
"count": 12,
"cstring_hex": "20202020202020202020202000"
},
"template": "%12s"
},
{
"rust": {
"count": 12,
"cstring_hex": "41202020202020202020202000"
},
"source": {
"count": 12,
"cstring_hex": "41202020202020202020202000"
},
"template": "%12s"
},
{
"rust": {
"count": 12,
"cstring_hex": "41424344452020202020202000"
},
"source": {
"count": 12,
"cstring_hex": "41424344452020202020202000"
},
"template": "%12s"
},
{
"rust": {
"count": 12,
"cstring_hex": "fffefd20202020202020202000"
},
"source": {
"count": 12,
"cstring_hex": "fffefd20202020202020202000"
},
"template": "%12s"
},
{
"rust": {
"count": 12,
"cstring_hex": "286e756c6c2920202020202000"
},
"source": {
"count": 12,
"cstring_hex": "286e756c6c2920202020202000"
},
"template": "%12s"
},
{
"rust": {
"count": 0,
"cstring_hex": "00"
},
"source": {
"count": 0,
"cstring_hex": "00"
},
"template": "%.2s"
},
{
"rust": {
"count": 1,
"cstring_hex": "4100"
},
"source": {
"count": 1,
"cstring_hex": "4100"
},
"template": "%.2s"
},
{
"rust": {
"count": 2,
"cstring_hex": "414200"
},
"source": {
"count": 2,
"cstring_hex": "414200"
},
"template": "%.2s"
},
{
"rust": {
"count": 2,
"cstring_hex": "fffe00"
},
"source": {
"count": 2,
"cstring_hex": "fffe00"
},
"template": "%.2s"
},
{
"rust": {
"count": 6,
"cstring_hex": "286e756c6c2900"
},
"source": {
"count": 6,
"cstring_hex": "286e756c6c2900"
},
"template": "%.2s"
},
{
"rust": {
"count": 8,
"cstring_hex": "202020202020202000"
},
"source": {
"count": 8,
"cstring_hex": "202020202020202000"
},
"template": "%08.2s"
},
{
"rust": {
"count": 8,
"cstring_hex": "412020202020202000"
},
"source": {
"count": 8,
"cstring_hex": "412020202020202000"
},
"template": "%08.2s"
},
{
"rust": {
"count": 8,
"cstring_hex": "414220202020202000"
},
"source": {
"count": 8,
"cstring_hex": "414220202020202000"
},
"template": "%08.2s"
},
{
"rust": {
"count": 8,
"cstring_hex": "fffe20202020202000"
},
"source": {
"count": 8,
"cstring_hex": "fffe20202020202000"
},
"template": "%08.2s"
},
{
"rust": {
"count": 8,
"cstring_hex": "286e756c6c29202000"
},
"source": {
"count": 8,
"cstring_hex": "286e756c6c29202000"
},
"template": "%08.2s"
},
{
"rust": {
"count": 0,
"cstring_hex": "00"
},
"source": {
"count": 0,
"cstring_hex": "00"
},
"template": ""
},
{
"rust": {
"count": 13,
"cstring_hex": "706c61696e206c69746572616c00"
},
"source": {
"count": 13,
"cstring_hex": "706c61696e206c69746572616c00"
},
"template": "plain literal"
},
{
"rust": {
"count": 5,
"cstring_hex": "253a413a4200"
},
"source": {
"count": 5,
"cstring_hex": "253a413a4200"
},
"template": "%%:%c:%q"
},
{
"rust": {
"count": 3,
"cstring_hex": "0020ff00"
},
"source": {
"count": 3,
"cstring_hex": "0020ff00"
},
"template": "%c %c"
},
{
"rust": {
"count": 18,
"cstring_hex": "68656c6c6f202d3132202f2041202573204200"
},
"source": {
"count": 18,
"cstring_hex": "68656c6c6f202d3132202f2041202573204200"
},
"template": "hello %i / %s"
}
],
"rejections": [
2
],
"source_report": "docs/research/qvm-formatter.json",
"source_report_sha256": "c75b4755b17a42038f1e7e0e0a6abb5bdb92a6e68a9165c79637f3fa87bc36c4"
}