Datasets:
instance_id stringlengths 37 155 | project stringclasses 8
values | language stringclasses 5
values | framework stringclasses 4
values | repo_url stringclasses 8
values | base_commit stringclasses 8
values | feature_repo_url stringclasses 8
values | feature_commit stringclasses 8
values | feature dict | scenario dict | requirement_richness stringclasses 3
values | target_interfaces listlengths 0 72 | target_interfaces_empty_reason stringclasses 1
value | test_level stringclasses 3
values | test_level_class stringclasses 23
values | in_eval_split bool 1
class | gt_test_files listlengths 1 25 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
algorand-sdk/features/unit/abijson.feature:101 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Get a method by name from Interface",
"line": 101,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson.byname"
],
"gherkin": " Scenario Outline: Get a method by name from Interface\n When I append to my Method objects list in the case of a non-empty signature \"<methodsig>\"\n An... | title_only | [
{
"declaration": "void <init>(java.lang.String, java.lang.String, java.util.List)",
"key": [
"com.algorand.algosdk.abi.Interface",
"<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V"
]
},
{
"declaration": "com.algorand.algosdk.abi.Method getMethodByName(java.lang.String)... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/abijson.feature:115 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Get a method by name from Contract",
"line": 115,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson.byname"
],
"gherkin": " Scenario Outline: Get a method by name from Contract\n When I append to my Method objects list in the case of a non-empty signature \"<methodsig>\"\n And ... | title_only | [
{
"declaration": "void <init>(java.lang.String, java.lang.String, java.util.Map, java.util.List)",
"key": [
"com.algorand.algosdk.abi.Contract",
"<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/util/List;)V"
]
},
{
"declaration": "com.algorand.algosdk.abi.Method getM... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/abijson.feature:22 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Create and serialize Method object into json",
"line": 22,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson"
],
"gherkin": " Scenario Outline: Create and serialize Method object into json\n When I create the Method object with name \"<name>\" first argument type \"<firstargtype>\... | title_only | [
{
"declaration": "void <init>(java.lang.String, java.lang.String, java.util.List, com.algorand.algosdk.abi.Method.Returns)",
"key": [
"com.algorand.algosdk.abi.Method",
"<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/algorand/algosdk/abi/Method$Returns;)V"
]
},
{
"d... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/abijson.feature:33 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Create and serialize Method object into json with arg names",
"line": 33,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson"
],
"gherkin": " Scenario Outline: Create and serialize Method object into json with arg names\n When I create the Method object with name \"<name>\" first a... | title_only | [
{
"declaration": "void <init>(java.lang.String, java.lang.String, java.util.List, com.algorand.algosdk.abi.Method.Returns)",
"key": [
"com.algorand.algosdk.abi.Method",
"<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/algorand/algosdk/abi/Method$Returns;)V"
]
},
{
"d... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/abijson.feature:44 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Create and serialize Method object into json with description",
"line": 44,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson"
],
"gherkin": " Scenario Outline: Create and serialize Method object into json with description\n When I create the Method object with name \"<name>\" met... | title_only | [
{
"declaration": "void <init>(java.lang.String, java.lang.String, java.util.List, com.algorand.algosdk.abi.Method.Returns)",
"key": [
"com.algorand.algosdk.abi.Method",
"<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/algorand/algosdk/abi/Method$Returns;)V"
]
},
{
"d... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/abijson.feature:5 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Serialize Method object from sig into json",
"line": 5,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson"
],
"gherkin": " Scenario Outline: Serialize Method object from sig into json\n When I create the Method object from method signature \"<methodsig>\"\n And I serialize the ... | title_only | [
{
"declaration": "void <init>(java.lang.String)",
"key": [
"com.algorand.algosdk.abi.Method",
"<init>:(Ljava/lang/String;)V"
]
}
] | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/abijson.feature:74 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Serialize Interface into json",
"line": 74,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson"
],
"gherkin": " Scenario Outline: Serialize Interface into json\n When I create the Method object from method signature \"<methodsig>\"\n And I create an Interface object from the Met... | title_only | [
{
"declaration": "void <init>(java.lang.String, java.lang.String, java.util.List)",
"key": [
"com.algorand.algosdk.abi.Interface",
"<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V"
]
},
{
"declaration": "void <init>(java.lang.String)",
"key": [
"com.algorand.... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/abijson.feature:86 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/abijson.feature",
"title": "AbiJson",
"narrative": null,
"background": null
} | {
"title": "Serialize Contract into json",
"line": 86,
"kind": "outline",
"tags": [
"@unit",
"@unit.abijson"
],
"gherkin": " Scenario Outline: Serialize Contract into json\n When I create the Method object from method signature \"<methodsig>\"\n And I create a Contract object from the Method ... | title_only | [
{
"declaration": "void <init>(java.lang.String, java.lang.String, java.util.Map, java.util.List)",
"key": [
"com.algorand.algosdk.abi.Contract",
"<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/util/List;)V"
]
},
{
"declaration": "void <init>(java.lang.Long)",
"k... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ABIJson.java"
] |
algorand-sdk/features/unit/algodclient_paths.feature:7 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/algodclient_paths.feature",
"title": "Algod REST API version agnostic paths",
"narrative": null,
"background": " Background:\n Given mock server recording request paths"
} | {
"title": "Ready path",
"line": 7,
"kind": "outline",
"tags": [
"@unit",
"@unit.ready"
],
"gherkin": " Scenario Outline: Ready path\n When we make a Ready call\n Then expect the request to be \"<method>\" \"<path>\"\n Examples:\n | path | method |\n | /ready | get |"
} | title_only | [
{
"declaration": "void <init>(java.lang.String, int, java.lang.String)",
"key": [
"com.algorand.algosdk.v2.client.common.AlgodClient",
"<init>:(Ljava/lang/String;ILjava/lang/String;)V"
]
},
{
"declaration": "com.algorand.algosdk.v2.client.algod.GetReady GetReady()",
"key": [
... | null | component | ALG-PATH | true | [
"src/test/java/com/algorand/algosdk/unit/AlgodPaths.java",
"src/test/java/com/algorand/algosdk/unit/PathsShared.java"
] |
algorand-sdk/features/unit/atomic_transaction_composer.feature:131 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/atomic_transaction_composer.feature",
"title": "Atomic Transaction Composer",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin ... | {
"title": "Multiple method calls construction and signing",
"line": 131,
"kind": "scenario",
"tags": [
"@unit",
"@unit.atomic_transaction_composer"
],
"gherkin": " Scenario: Multiple method calls construction and signing\n Given a new AtomicTransactionComposer\n And suggested transaction par... | title_only | [
{
"declaration": "void <init>(java.lang.String)",
"key": [
"com.algorand.algosdk.abi.Method",
"<init>:(Ljava/lang/String;)V"
]
},
{
"declaration": "com.algorand.algosdk.crypto.Address getAddress()",
"key": [
"com.algorand.algosdk.account.Account",
"getAddress:()Lcom/a... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/ABIJson.java",
"src/test/java/com/algorand/algosdk/unit... |
algorand-sdk/features/unit/atomic_transaction_composer.feature:170 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/atomic_transaction_composer.feature",
"title": "Atomic Transaction Composer",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin ... | {
"title": "Initial status",
"line": 170,
"kind": "scenario",
"tags": [
"@unit",
"@unit.atomic_transaction_composer"
],
"gherkin": " Scenario: Initial status\n Given a new AtomicTransactionComposer\n Then The composer should have a status of \"BUILDING\"."
} | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.AtomicTransactionComposer.Status getStatus()",
"key": [
"com.algorand.algosdk.transaction.AtomicTransactionComposer",
"getStatus:()Lcom/algorand/algosdk/transaction/AtomicTransactionComposer$Status;"
]
}
] | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/ABIJson.java",
"src/test/java/com/algorand/algosdk/unit... |
algorand-sdk/features/unit/atomic_transaction_composer.feature:175 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/atomic_transaction_composer.feature",
"title": "Atomic Transaction Composer",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin ... | {
"title": "Build with 0 transactions fails",
"line": 175,
"kind": "scenario",
"tags": [
"@unit",
"@unit.atomic_transaction_composer"
],
"gherkin": " Scenario: Build with 0 transactions fails\n Given a new AtomicTransactionComposer\n When I build the transaction group with the composer. If th... | title_only | [
{
"declaration": "java.util.List buildGroup()",
"key": [
"com.algorand.algosdk.transaction.AtomicTransactionComposer",
"buildGroup:()Ljava/util/List;"
]
},
{
"declaration": "com.algorand.algosdk.transaction.AtomicTransactionComposer.Status getStatus()",
"key": [
"com.algora... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/ABIJson.java",
"src/test/java/com/algorand/algosdk/unit... |
algorand-sdk/features/unit/atomic_transaction_composer.feature:40 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/atomic_transaction_composer.feature",
"title": "Atomic Transaction Composer",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin ... | {
"title": "Method call creation construction and signing",
"line": 40,
"kind": "outline",
"tags": [
"@unit",
"@unit.atomic_transaction_composer"
],
"gherkin": " Scenario Outline: Method call creation construction and signing\n Given a new AtomicTransactionComposer\n And suggested transaction... | title_only | [
{
"declaration": "void <init>(java.lang.String)",
"key": [
"com.algorand.algosdk.abi.Method",
"<init>:(Ljava/lang/String;)V"
]
},
{
"declaration": "com.algorand.algosdk.crypto.Address getAddress()",
"key": [
"com.algorand.algosdk.account.Account",
"getAddress:()Lcom/a... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/ABIJson.java",
"src/test/java/com/algorand/algosdk/unit... |
algorand-sdk/features/unit/atomic_transaction_composer.feature:7 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/atomic_transaction_composer.feature",
"title": "Atomic Transaction Composer",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin ... | {
"title": "Method call construction and signing",
"line": 7,
"kind": "outline",
"tags": [
"@unit",
"@unit.atomic_transaction_composer"
],
"gherkin": " Scenario Outline: Method call construction and signing\n Given a new AtomicTransactionComposer\n And suggested transaction parameters fee 123... | title_only | [
{
"declaration": "void <init>(java.lang.String)",
"key": [
"com.algorand.algosdk.abi.Method",
"<init>:(Ljava/lang/String;)V"
]
},
{
"declaration": "com.algorand.algosdk.crypto.Address getAddress()",
"key": [
"com.algorand.algosdk.account.Account",
"getAddress:()Lcom/a... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/ABIJson.java",
"src/test/java/com/algorand/algosdk/unit... |
algorand-sdk/features/unit/feetest.feature:26 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/feetest.feature",
"title": "Transaction fee test",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin mandate discover uncle seve... | {
"title": "Payment Txn Fee Test",
"line": 26,
"kind": "outline",
"tags": [
"@unit.feetest",
"@unit"
],
"gherkin": " Scenario Outline: Payment Txn Fee Test\n Given payment transaction parameters <fee> <fv> <lv> \"<gh>\" \"<to>\" \"<close>\" <amt> \"<gen>\" \"<note>\"\n And mnemonic for privat... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signMultisigTransaction(com.algorand.algosdk.crypto.MultisigAddress, com.algorand.algosdk.transaction.Transaction)",
"key": [
"com.algorand.algosdk.account.Account",
"signMultisigTransaction:(Lcom/algorand/algosdk/crypto/Multis... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/Base.java",
"src/test/java/com/algorand/algosdk/unit/Re... |
algorand-sdk/features/unit/feetest.feature:7 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/feetest.feature",
"title": "Transaction fee test",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin mandate discover uncle seve... | {
"title": "App Call Fee Test",
"line": 7,
"kind": "outline",
"tags": [
"@unit.feetest",
"@unit"
],
"gherkin": " Scenario Outline: App Call Fee Test\n When I build an application transaction with operation \"<operation>\", application-id <application-id>, sender \"<sender>\", approval-program \"... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signTransaction(com.algorand.algosdk.transaction.Transaction)",
"key": [
"com.algorand.algosdk.account.Account",
"signTransaction:(Lcom/algorand/algosdk/transaction/Transaction;)Lcom/algorand/algosdk/transaction/SignedTransacti... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/Base.java"
] |
algorand-sdk/features/unit/offline.feature:10 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/offline.feature",
"title": "Offline",
"narrative": null,
"background": null
} | {
"title": "Mnemonic to and from private key",
"line": 10,
"kind": "outline",
"tags": [
"@unit",
"@unit.offline"
],
"gherkin": " Scenario Outline: Mnemonic to and from private key\n Given mnemonic for private key \"<mn>\"\n When I convert the private key back to a mnemonic\n Then the mnemo... | title_only | [
{
"declaration": "java.lang.String toMnemonic()",
"key": [
"com.algorand.algosdk.account.Account",
"toMnemonic:()Ljava/lang/String;"
]
}
] | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java"
] |
algorand-sdk/features/unit/offline.feature:19 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/offline.feature",
"title": "Offline",
"narrative": null,
"background": null
} | {
"title": "Mnemonic to and from master derivation key",
"line": 19,
"kind": "outline",
"tags": [
"@unit",
"@unit.offline"
],
"gherkin": " Scenario Outline: Mnemonic to and from master derivation key\n Given mnemonic for master derivation key \"<mn>\"\n When I convert the master derivation ke... | title_only | [
{
"declaration": "java.lang.String fromKey(byte[])",
"key": [
"com.algorand.algosdk.mnemonic.Mnemonic",
"fromKey:([B)Ljava/lang/String;"
]
}
] | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java"
] |
algorand-sdk/features/unit/offline.feature:28 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/offline.feature",
"title": "Offline",
"narrative": null,
"background": null
} | {
"title": "Sign transaction with flat fee",
"line": 28,
"kind": "outline",
"tags": [
"@unit",
"@unit.offline"
],
"gherkin": " Scenario Outline: Sign transaction with flat fee\n Given payment transaction parameters <fee> <fv> <lv> \"<gh>\" \"<to>\" \"<close>\" <amt> \"<gen>\" \"<note>\"\n And... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signTransaction(com.algorand.algosdk.transaction.Transaction)",
"key": [
"com.algorand.algosdk.account.Account",
"signTransaction:(Lcom/algorand/algosdk/transaction/Transaction;)Lcom/algorand/algosdk/transaction/SignedTransacti... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java"
] |
algorand-sdk/features/unit/offline.feature:4 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/offline.feature",
"title": "Offline",
"narrative": null,
"background": null
} | {
"title": "Encode and decode addresses",
"line": 4,
"kind": "scenario",
"tags": [
"@unit",
"@unit.offline"
],
"gherkin": " Scenario: Encode and decode addresses\n When I generate a key\n And I decode the address\n And I encode the address\n Then the address should still be the same"
} | title_only | [
{
"declaration": "void <init>()",
"key": [
"com.algorand.algosdk.account.Account",
"<init>:()V"
]
},
{
"declaration": "com.algorand.algosdk.crypto.Address getAddress()",
"key": [
"com.algorand.algosdk.account.Account",
"getAddress:()Lcom/algorand/algosdk/crypto/Addres... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java"
] |
algorand-sdk/features/unit/offline.feature:47 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/offline.feature",
"title": "Offline",
"narrative": null,
"background": null
} | {
"title": "Sign multisig",
"line": 47,
"kind": "outline",
"tags": [
"@unit",
"@unit.offline"
],
"gherkin": " Scenario Outline: Sign multisig\n Given payment transaction parameters <fee> <fv> <lv> \"<gh>\" \"<to>\" \"<close>\" <amt> \"<gen>\" \"<note>\"\n And mnemonic for private key \"<mn>\"... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signMultisigTransaction(com.algorand.algosdk.crypto.MultisigAddress, com.algorand.algosdk.transaction.Transaction)",
"key": [
"com.algorand.algosdk.account.Account",
"signMultisigTransaction:(Lcom/algorand/algosdk/crypto/Multis... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java"
] |
algorand-sdk/features/unit/offline.feature:59 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/offline.feature",
"title": "Offline",
"narrative": null,
"background": null
} | {
"title": "Append multisig",
"line": 59,
"kind": "outline",
"tags": [
"@unit",
"@unit.offline"
],
"gherkin": " Scenario Outline: Append multisig\n Given encoded multisig transaction \"<mtx>\"\n And mnemonic for private key \"<mn>\"\n When I append a signature to the multisig transaction\n... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction appendMultisigTransaction(com.algorand.algosdk.crypto.MultisigAddress, com.algorand.algosdk.transaction.SignedTransaction)",
"key": [
"com.algorand.algosdk.account.Account",
"appendMultisigTransaction:(Lcom/algorand/algosdk/cry... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java"
] |
algorand-sdk/features/unit/offline.feature:69 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/offline.feature",
"title": "Offline",
"narrative": null,
"background": null
} | {
"title": "Merge multisig",
"line": 69,
"kind": "outline",
"tags": [
"@unit",
"@unit.offline"
],
"gherkin": " Scenario Outline: Merge multisig\n Given encoded multisig transactions \"<msigtxns>\"\n When I merge the multisig transactions\n Then the multisig transaction should equal the gol... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction mergeMultisigTransactions(com.algorand.algosdk.transaction.SignedTransaction[])",
"key": [
"com.algorand.algosdk.account.Account",
"mergeMultisigTransactions:([Lcom/algorand/algosdk/transaction/SignedTransaction;)Lcom/algorand/... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java"
] |
algorand-sdk/features/unit/program_sanity_check.feature:3 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/program_sanity_check.feature",
"title": "HeursticSanityCheck",
"narrative": null,
"background": null
} | {
"title": "Read a slice of bytes and heuristically decide if it look like program bytes",
"line": 3,
"kind": "outline",
"tags": [
"@unit.program_sanity_check"
],
"gherkin": " Scenario Outline: Read a slice of bytes and heuristically decide if it look like program bytes\n Given a base64 encoded prog... | title_only | [
{
"declaration": "void <init>(byte[])",
"key": [
"com.algorand.algosdk.crypto.LogicsigSignature",
"<init>:([B)V"
]
}
] | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/ProgramSanityCheck.java"
] |
algorand-sdk/features/unit/rekey.feature:16 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/rekey.feature",
"title": "Rekey",
"narrative": null,
"background": null
} | {
"title": "Create and sign transaction using a rekey-ed account",
"line": 16,
"kind": "outline",
"tags": [
"@unit.rekey",
"@unit"
],
"gherkin": " Scenario Outline: Create and sign transaction using a rekey-ed account\n Given payment transaction parameters <fee> <fv> <lv> \"<gh>\" \"<to>\" \"<cl... | title_only | [
{
"declaration": "com.algorand.algosdk.crypto.Address getAddress()",
"key": [
"com.algorand.algosdk.account.Account",
"getAddress:()Lcom/algorand/algosdk/crypto/Address;"
]
},
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signTransaction(com.algorand.algosdk.tr... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/Rekeying.java"
] |
algorand-sdk/features/unit/rekey.feature:4 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/rekey.feature",
"title": "Rekey",
"narrative": null,
"background": null
} | {
"title": "Create and sign a rekeying transaction",
"line": 4,
"kind": "outline",
"tags": [
"@unit.rekey",
"@unit"
],
"gherkin": " Scenario Outline: Create and sign a rekeying transaction\n Given payment transaction parameters <fee> <fv> <lv> \"<gh>\" \"<to>\" \"<close>\" <amt> \"<gen>\" \"<not... | title_only | [
{
"declaration": "com.algorand.algosdk.crypto.Address getAddress()",
"key": [
"com.algorand.algosdk.account.Account",
"getAddress:()Lcom/algorand/algosdk/crypto/Address;"
]
},
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signTransaction(com.algorand.algosdk.tr... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/Rekeying.java"
] |
algorand-sdk/features/unit/tealsign.feature:15 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/tealsign.feature",
"title": "Tealsign",
"narrative": null,
"background": null
} | {
"title": "Tealsign data using program bytes and mnemonic",
"line": 15,
"kind": "outline",
"tags": [
"@unit.tealsign",
"@unit"
],
"gherkin": " Scenario Outline: Tealsign data using program bytes and mnemonic\n Given base64 encoded data to sign \"<data>\"\n And base64 encoded program \"<progr... | title_only | [
{
"declaration": "com.algorand.algosdk.crypto.Signature tealSign(byte[], com.algorand.algosdk.crypto.Address)",
"key": [
"com.algorand.algosdk.account.Account",
"tealSign:([BLcom/algorand/algosdk/crypto/Address;)Lcom/algorand/algosdk/crypto/Signature;"
]
},
{
"declaration": "byte[] g... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/Rekeying.java",
"src/test/java/com/algorand/algosdk/unit/TealSign.java"
] |
algorand-sdk/features/unit/tealsign.feature:26 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/tealsign.feature",
"title": "Tealsign",
"narrative": null,
"background": null
} | {
"title": "Tealsign data using program bytes and private key bytes",
"line": 26,
"kind": "outline",
"tags": [
"@unit.tealsign",
"@unit"
],
"gherkin": " Scenario Outline: Tealsign data using program bytes and private key bytes\n Given base64 encoded data to sign \"<data>\"\n And base64 encode... | title_only | [
{
"declaration": "com.algorand.algosdk.crypto.Signature tealSign(byte[], com.algorand.algosdk.crypto.Address)",
"key": [
"com.algorand.algosdk.account.Account",
"tealSign:([BLcom/algorand/algosdk/crypto/Address;)Lcom/algorand/algosdk/crypto/Signature;"
]
},
{
"declaration": "byte[] g... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/Rekeying.java",
"src/test/java/com/algorand/algosdk/unit/TealSign.java"
] |
algorand-sdk/features/unit/tealsign.feature:37 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/tealsign.feature",
"title": "Tealsign",
"narrative": null,
"background": null
} | {
"title": "Tealsign data using contract address and private key bytes",
"line": 37,
"kind": "outline",
"tags": [
"@unit.tealsign",
"@unit"
],
"gherkin": " Scenario Outline: Tealsign data using contract address and private key bytes\n Given base64 encoded data to sign \"<data>\"\n And program... | title_only | [
{
"declaration": "com.algorand.algosdk.crypto.Signature tealSign(byte[], com.algorand.algosdk.crypto.Address)",
"key": [
"com.algorand.algosdk.account.Account",
"tealSign:([BLcom/algorand/algosdk/crypto/Address;)Lcom/algorand/algosdk/crypto/Signature;"
]
},
{
"declaration": "byte[] g... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/Rekeying.java",
"src/test/java/com/algorand/algosdk/unit/TealSign.java"
] |
algorand-sdk/features/unit/tealsign.feature:4 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/tealsign.feature",
"title": "Tealsign",
"narrative": null,
"background": null
} | {
"title": "Tealsign data using contract address and mnemonic",
"line": 4,
"kind": "outline",
"tags": [
"@unit.tealsign",
"@unit"
],
"gherkin": " Scenario Outline: Tealsign data using contract address and mnemonic\n Given base64 encoded data to sign \"<data>\"\n And program hash \"<hash>\"\n ... | title_only | [
{
"declaration": "com.algorand.algosdk.crypto.Signature tealSign(byte[], com.algorand.algosdk.crypto.Address)",
"key": [
"com.algorand.algosdk.account.Account",
"tealSign:([BLcom/algorand/algosdk/crypto/Address;)Lcom/algorand/algosdk/crypto/Signature;"
]
},
{
"declaration": "byte[] g... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/unit/Rekeying.java",
"src/test/java/com/algorand/algosdk/unit/TealSign.java"
] |
algorand-sdk/features/unit/transactions.feature:45 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/transactions.feature",
"title": "Transaction encoding",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin mandate discover uncle... | {
"title": "Payment Transaction Tests",
"line": 45,
"kind": "outline",
"tags": [
"@unit",
"@unit.transactions.payment"
],
"gherkin": " Scenario Outline: Payment Transaction Tests\n Given suggested transaction parameters fee <fee>, flat-fee \"<flat-fee>\", first-valid <first-valid>, last-valid <l... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signTransaction(com.algorand.algosdk.transaction.Transaction)",
"key": [
"com.algorand.algosdk.account.Account",
"signTransaction:(Lcom/algorand/algosdk/transaction/Transaction;)Lcom/algorand/algosdk/transaction/SignedTransacti... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/Base.java"
] |
algorand-sdk/features/unit/transactions.feature:58 | algorand-sdk | java | cucumber | https://github.com/algorand/java-algorand-sdk | 4e38dadc4eec827ed8742c8bb272e0545c801932 | https://github.com/algorand/algorand-sdk-testing | 7c67284b52675257e66c017cc3606bcd4803f4c6 | {
"file_path": "features/unit/transactions.feature",
"title": "Transaction encoding",
"narrative": null,
"background": " Background:\n Given a signing account with address \"BH55E5RMBD4GYWXGX5W5PJ5JAHPGM5OXKDQH5DC4O2MGI7NW4H6VOE4CP4\" and mnemonic \"awful drop leaf tennis indoor begin mandate discover uncle... | {
"title": "Keyreg Transaction Tests",
"line": 58,
"kind": "outline",
"tags": [
"@unit",
"@unit.transactions.keyreg"
],
"gherkin": " Scenario Outline: Keyreg Transaction Tests\n Given suggested transaction parameters fee <fee>, flat-fee \"<flat-fee>\", first-valid <first-valid>, last-valid <last... | title_only | [
{
"declaration": "com.algorand.algosdk.transaction.SignedTransaction signTransaction(com.algorand.algosdk.transaction.Transaction)",
"key": [
"com.algorand.algosdk.account.Account",
"signTransaction:(Lcom/algorand/algosdk/transaction/Transaction;)Lcom/algorand/algosdk/transaction/SignedTransacti... | null | component | ALG-DIRECT | true | [
"src/test/java/com/algorand/algosdk/cucumber/shared/TransactionSteps.java",
"src/test/java/com/algorand/algosdk/integration/Stepdefs.java",
"src/test/java/com/algorand/algosdk/integration/TransientAccount.java",
"src/test/java/com/algorand/algosdk/unit/Base.java"
] |
Req2Test-Bench
Code | Paper | Leaderboard | Documentation
Dataset Summary
Req2Test-Bench is a benchmark for requirement-to-test generation in real software projects. It collects 5,086 execution-validated instances from 8 real-world projects in 5 programming languages. Its eval split has 2,051 instances.
Each instance is one Scenario of a project's Gherkin requirements. An agent receives the Requirement (a Gherkin Feature with one target Scenario), the production interfaces that the Scenario targets, and a runnable workspace of the project: its source with the target implementation hidden, and an application runtime in which the project's tests can be run. It must write the Scenario's executable Test Implementation: its Step Definitions and the helper code they need.
Req2Test-Bench runs the generated test against the project's real code and asks two questions. Does it pass? And does it fail on every mutant (a copy of the code with one injected fault) that the developers' own test of that Requirement catches? A test that passes and kills all of those mutants is KillComplete.
To load the tasks and the reference tests:
from datasets import load_dataset
eval_rows = load_dataset("code-philia/Req2Test-Bench", split="eval")
gt = load_dataset("code-philia/Req2Test-Bench", "gt_tests", split="full")
Supported Tasks and Leaderboards
The metrics are Pass@1, KillComplete@1, mutant-kill recall, API F1 and coverage Jaccard (docs/metrics.md). The leaderboard is in results/leaderboard.md.
Languages
The requirements are Gherkin Features written in English. The projects are written in Go, Java, PHP, Python and Ruby. Their tests use the BDD frameworks behave (Python), Cucumber (Java and Ruby), Behat (PHP) and godog (Go).
Project (project) |
Eval | Full | Language | Framework | Upstream repository | Upstream licence |
|---|---|---|---|---|---|---|
Algorand Java SDK (algorand-sdk) |
111 | 117 | Java | Cucumber | algorand/java-algorand-sdk (code and steps), algorand/algorand-sdk-testing (features) | MIT (both repositories) |
coddy-agent (coddy-agent) |
274 | 282 | Go | godog | coddy-project/coddy-agent | MIT |
CoreShop (coreshop) |
334 | 422 | PHP | Behat | coreshop/CoreShop | CoreShop Commercial License (CCL), with Pimcore under the Pimcore Open Core License (POCL) |
e-petitions (e-petitions) |
98 | 119 | Ruby | Cucumber | alphagov/e-petitions | MIT |
Eclipse Kapua (kapua) |
330 | 605 | Java | Cucumber | eclipse-kapua/kapua | EPL-2.0 |
PrestaShop (prestashop) |
348 | 1,352 | PHP | Behat | PrestaShop/PrestaShop | OSL-3.0 (core), AFL-3.0 (modules) |
python-docx (python-docx) |
237 | 239 | Python | behave | python-openxml/python-docx | MIT |
Sylius (sylius) |
319 | 1,950 | PHP | Behat | Sylius/Sylius | MIT |
| Total | 2,051 | 5,086 |
Each project is pinned to one upstream commit (base_commit).
Dataset Structure
Data Fields
Default config (eval, full):
| Field | Type | Description |
|---|---|---|
instance_id |
string | The stable key, <project>/<feature file path>:<Scenario line>. |
project |
string | One of algorand-sdk, coddy-agent, coreshop, e-petitions, kapua, prestashop, python-docx, sylius. |
language |
string | go, java, php, python or ruby. |
framework |
string | The BDD runner: godog, cucumber (Java and Ruby), behat or behave. |
repo_url |
string | The upstream repository of the project snapshot the test runs against. |
base_commit |
string | The 40-character commit of repo_url that pins the snapshot. |
feature_repo_url |
string | The repository holding the .feature file. It equals repo_url except for algorand-sdk, whose features live in algorand/algorand-sdk-testing. |
feature_commit |
string | The commit of feature_repo_url. |
feature.file_path |
string | The path of the .feature file in feature_repo_url. |
feature.title |
string | The text after Feature:. |
feature.narrative |
string or null | The Feature's free-text description as written. Null when the Feature has a title only. |
feature.background |
string or null | The Feature's Background: block, or null. Its Steps run before the Scenario's. |
scenario.title |
string | The text after Scenario: or Scenario Outline:. |
scenario.line |
int64 | The 1-based line of the Scenario header in feature.file_path. |
scenario.kind |
string | scenario or outline. An Outline is one instance, and all its Examples rows run. |
scenario.tags |
list of string | The tags in effect for the Scenario (Feature and Scenario tags). |
scenario.gherkin |
string | The exact Scenario text from its header through its last Step or Examples row. With feature.* it forms the Requirement. |
requirement_richness |
string | The kind of Feature description: user_story, prose or title_only. |
target_interfaces |
list of {declaration, key} | The first-party public production methods that the ground-truth test calls directly from its When and Then Steps. declaration is the declaration text shown to agents. key identifies the method (2 or 3 strings, by language). |
target_interfaces_empty_reason |
string or null | Null when target_interfaces is non-empty. no_action_or_check_call when the action and check Steps call no production method directly. not_identified: ... for 6 rows of algorand-sdk outside eval. |
test_level |
string | component, integration or system. |
test_level_class |
string | The Step Definition suite class the level was assigned from, for example KP-UNIT. |
in_eval_split |
bool | True for the instances of eval. |
gt_test_files |
list of string | The paths (relative to repo_url at base_commit) of the ground-truth Test Implementation files. Their contents are in the gt_tests config. |
gt_tests config:
| Field | Type | Description |
|---|---|---|
project |
string | As above. |
instance_id |
string | Joins to the default config. |
files |
list of {path, content} | One entry per gt_test_files path, in the same order. content is the file's full UTF-8 text at base_commit. |
di_fragment |
string or null | CoreShop and Sylius only. The JSON text of the per-instance Symfony service definitions (service id, class, arguments, tags) that register the instance's Behat contexts. Null for the other projects. |
Data Splits
| Config | Split | Rows | Contents |
|---|---|---|---|
default |
eval |
2,051 | The benchmark instances. The metrics count 2,037 of them (see below). |
default |
full |
5,086 | Every execution-validated instance, eval included. |
gt_tests |
full |
5,086 | The ground-truth Test Implementation of every full instance. It is the reference answer, not model input. |
The eval rows are the full rows with in_eval_split: true, in the same order. For every project except python-docx, full is analysis data that req2test does not evaluate.
The metrics leave out 14 CoreShop and Sylius eval instances whose target has no code to hide, or whose ground-truth test passes even with the target hidden (population).
Keep the reference data away from the agent under test. The
gt_testsconfig, thebase.tar.zstview archives and the kits hold the answer or the unhidden code. Give an agent only the materialized view of its instance.
Release Files
releases/<tag>/ holds the files that req2test fetch downloads and verifies (7.2 GB): the dataset as JSONL, and per project an evaluation kit, the source views and a runtime pack (docs/kits.md). The kits take 3.8 GB, including the MySQL image that the CoreShop and Sylius kits share. The runtime packs take 3.3 GB, the source views 59 MB and the dataset 1.5 MB. The dataset viewer and load_dataset do not read this folder.
How to Evaluate
The req2test command-line tool, its requirements and its installation are on GitHub. req2test fetch downloads and verifies the release files of this repository.
The GitHub usage guide shows how to prepare the tasks, run an agent on them and evaluate its predictions, with an example that runs Codex CLI. docs/agents.md describes how to run your own agent. Evaluation options, runs over several hosts and the cost per project are in docs/evaluation.md.
Licensing Information
The Req2Test-Bench code (GitHub) and the benchmark metadata authored for it (instance identifiers, target interfaces, labels, splits, mutant selections and kill sets) are released under the MIT licence.
Task content is derived from the upstream projects listed under Languages and stays under each project's own licence. This covers the requirements (Gherkin text), source snapshots and views, ground-truth tests, and mutants. The Docker images in the kits and the runtime packs contain third-party software (operating-system packages, language runtimes, build tools, databases such as MySQL Community Server and PostgreSQL, and each project's dependencies) under their own licences.
CoreShop content, including its kit, views and runtime pack, is under the CoreShop Commercial License and requires Pimcore under the Pimcore Open Core License. The terms are summarised in NOTICE.md.
Citation Information
@misc{req2testbench2026,
title = {Benchmarking {LLM} Agents for Behaviorally Adequate Test Generation from Software Requirements},
author = {Qi, Binhang and Liu, Yiming and Lin, Yun and Zhou, Yangjie and Sun, Hailong and Dong, Jin Song},
year = {2026},
eprint = {2610.36584},
archivePrefix = {arXiv},
primaryClass = {cs.SE}
}
- Downloads last month
- 17