Datasets:
File size: 5,423 Bytes
0e239c6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | {
"schema_version": 1,
"instance_id": "database-sqlc-4580",
"kind": "native_contract",
"network": "bridge",
"repeat_count": 3,
"required_regression_worlds": [
"all_buggy",
"all_fixed"
],
"test_files": [
{
"path": "tests/native/public-source-preparation-r1/fixtures/cmd/crossrepo_fmt_contract_test.go",
"sha256": "3bc1ba12927102953e47dbee15d25f20021f6c04e12d9385c3cfdad78f44fef7",
"bytes": 3022,
"kind": "native_test_material",
"source_sha256": "3bc1ba12927102953e47dbee15d25f20021f6c04e12d9385c3cfdad78f44fef7"
},
{
"path": "tests/native/public-source-preparation-r1/fixtures/meyer/corpus_test.go",
"sha256": "ad496e8aab4d084b98abdaa2f2c8a0dec4837bab345a2f32df97d1bef4041808",
"bytes": 1193,
"kind": "native_test_material",
"source_sha256": "ad496e8aab4d084b98abdaa2f2c8a0dec4837bab345a2f32df97d1bef4041808"
},
{
"path": "tests/native/public-source-preparation-r1/fixtures/meyer/crossrepo_fmt_contract_test.go",
"sha256": "3347371a01f8cb2411507b2fc5ca88a53de8c63985581ca16d4e23c7d67b43f0",
"bytes": 3303,
"kind": "native_test_material",
"source_sha256": "3347371a01f8cb2411507b2fc5ca88a53de8c63985581ca16d4e23c7d67b43f0"
},
{
"path": "tests/native/public-source-preparation-r1/fixtures/meyer/parser_test.go",
"sha256": "5766626c9303fa25300fc2a6661affc31f7d64da14b3938ad615180d1bf0caf0",
"bytes": 3687,
"kind": "native_test_material",
"source_sha256": "5766626c9303fa25300fc2a6661affc31f7d64da14b3938ad615180d1bf0caf0"
},
{
"path": "tests/native/public-source-preparation-r1/fixtures/meyer/span_test.go",
"sha256": "e0477e45ed71b142c3e38cbc8adfe801e03fd1184b3ae16f50251e4a56a9bf3c",
"bytes": 1944,
"kind": "native_test_material",
"source_sha256": "e0477e45ed71b142c3e38cbc8adfe801e03fd1184b3ae16f50251e4a56a9bf3c"
},
{
"path": "tests/native/public-source-preparation-r1/fixtures/sqlite/crossrepo_fmt_contract_test.go",
"sha256": "d318f25a246146ed5d8650ba7bfc81fcb186fe1854d92a4d8d71e86367a8fc6d",
"bytes": 1466,
"kind": "native_test_material",
"source_sha256": "d318f25a246146ed5d8650ba7bfc81fcb186fe1854d92a4d8d71e86367a8fc6d"
}
],
"specifications": [
{
"source_sha256": "df421fac52d2405278467dd768e16968395807b03000efb4af4d45b523c35097",
"specification": {
"expected_native_events": {
"cmd": [
"TestCrossRepoSQLCFormatterContract"
],
"meyer": [
"TestCrossRepoMeyerTrivia",
"TestParseReader",
"TestParse",
"TestSpans"
],
"sqlite": [
"TestCrossRepoSQLCExistingSQLiteParser"
]
},
"fixture_package_paths": {
"cmd": "github.com/sqlc-dev/sqlc/internal/cmd",
"meyer": "github.com/sqlc-dev/meyer/parser",
"sqlite": "github.com/sqlc-dev/sqlc/internal/engine/sqlite"
},
"instance_id": "5915ae9e73e8"
}
}
],
"source_record_commands": [
{
"repository": "sqlc",
"container_path": "/testbed/sqlc-dev/sqlc",
"setup_command": "MEYER=\"$(dirname \"$PWD\")/meyer\"; go mod edit -replace=github.com/sqlc-dev/meyer=$MEYER && go mod download",
"environment": {
"CGO_ENABLED": "1",
"GOTOOLCHAIN": "local"
},
"test_cwd": null,
"evaluation_setup_command": null,
"evaluation_setup_cwd": null,
"evaluation_setup_order": null,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "go run ./cmd/sqlc fmt --diff -f internal/endtoend/testdata/fmt/sqlite/sqlc.yaml",
"pass_to_pass": "go test ./internal/engine/sqlite"
},
{
"repository": "meyer",
"container_path": "/testbed/sqlc-dev/meyer",
"setup_command": "go test ./...",
"environment": {
"CGO_ENABLED": "1",
"GOTOOLCHAIN": "local"
},
"test_cwd": null,
"evaluation_setup_command": null,
"evaluation_setup_cwd": null,
"evaluation_setup_order": null,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "go test ./...",
"pass_to_pass": "go test ./..."
}
],
"execution_policy": {
"test_patches": "Apply in listed order after candidate patches, in an isolated evaluator workspace.",
"commands": "Complete source setup in setup_order, then evaluator setup in evaluation_setup_order, ready checks, pass_to_pass and fail_to_pass commands; teardown in reverse evaluator setup order.",
"world_placeholder": "A world labels the prepared source state for both regression and behavior commands: all_buggy for base, all_fixed for gold, candidate for submitted patches.",
"success": "All required behavioral and regression tests pass; infrastructure failures are not behavioral outcomes.",
"isolation": "The agent receives base sources and statement only; evaluation and reference materials remain outside its workspace."
},
"availability": {
"test_materials": "included",
"portable_environment": "pending",
"dependencies": "Some commands require external toolchains or dependency assets; complete portable recipes are a follow-up release."
}
}
|