Datasets:
Upload results/gin_deep_dive/tf-gin-256-deep_qualitative.json with huggingface_hub
Browse files
results/gin_deep_dive/tf-gin-256-deep_qualitative.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label": "tf-gin-256-deep",
|
| 3 |
+
"total": 200,
|
| 4 |
+
"heuristic_valid": 199,
|
| 5 |
+
"heuristic_pct": 99.5,
|
| 6 |
+
"syntax_valid": 0,
|
| 7 |
+
"syntax_pct": 0.0,
|
| 8 |
+
"valid_examples": [],
|
| 9 |
+
"failed_high_acc": [
|
| 10 |
+
{
|
| 11 |
+
"index": 17,
|
| 12 |
+
"num_nodes": 12,
|
| 13 |
+
"type_accuracy": 1.0,
|
| 14 |
+
"heuristic_valid": true,
|
| 15 |
+
"syntax_valid": false,
|
| 16 |
+
"original_code": "def call(storage)\n new(storage).call\n end",
|
| 17 |
+
"reconstructed_code": ""
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"index": 39,
|
| 21 |
+
"num_nodes": 44,
|
| 22 |
+
"type_accuracy": 1.0,
|
| 23 |
+
"heuristic_valid": true,
|
| 24 |
+
"syntax_valid": false,
|
| 25 |
+
"original_code": "def ==(other)\n table == other.table && partition_name == other.partition_name && from == other.from && to == other.to\n end",
|
| 26 |
+
"reconstructed_code": ""
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"index": 42,
|
| 30 |
+
"num_nodes": 14,
|
| 31 |
+
"type_accuracy": 1.0,
|
| 32 |
+
"heuristic_valid": true,
|
| 33 |
+
"syntax_valid": false,
|
| 34 |
+
"original_code": "def work_package_cfs_for(type)\n all_work_package_cfs.merge(type.custom_fields)\n end",
|
| 35 |
+
"reconstructed_code": ""
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"index": 68,
|
| 39 |
+
"num_nodes": 12,
|
| 40 |
+
"type_accuracy": 1.0,
|
| 41 |
+
"heuristic_valid": true,
|
| 42 |
+
"syntax_valid": false,
|
| 43 |
+
"original_code": "def find(name)\n settings[name]\n end",
|
| 44 |
+
"reconstructed_code": ""
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"index": 44,
|
| 48 |
+
"num_nodes": 54,
|
| 49 |
+
"type_accuracy": 0.9815,
|
| 50 |
+
"heuristic_valid": true,
|
| 51 |
+
"syntax_valid": false,
|
| 52 |
+
"original_code": "def down\n execute(<<~SQL)\n UPDATE application_settings\n SET zoekt_settings = jsonb_set(\n zoekt_settings,\n '{zoekt_auto_delete_lost_nodes}',\n 'false'\n )\n WHERE zoekt_settings ? 'zoekt_lost_node_threshold'\n AND zoekt_settings->>'zoekt_lost_node_threshold' = '0'\n SQL\n\n execute(<<~SQL)\n UPDATE application_settings\n SET zoekt_settings = jsonb_set(\n zoekt_settings,\n '{zoekt_auto_delete_lost_nodes}',\n 'true'\n )\n WHERE zoekt_settings ? 'zoekt_lost_node_threshold'\n AND zoekt_settings->>'zoekt_lost_node_threshold' != '0'\n SQL\n\n execute(<<~SQL)\n UPDATE application_settings\n SET zoekt_settings = zoekt_settings - 'zoekt_lost_node_threshold'\n WHERE zoekt_settings ? 'zoekt_lost_node_threshold'\n SQL\n end",
|
| 53 |
+
"reconstructed_code": ""
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"index": 59,
|
| 57 |
+
"num_nodes": 94,
|
| 58 |
+
"type_accuracy": 0.9787,
|
| 59 |
+
"heuristic_valid": true,
|
| 60 |
+
"syntax_valid": false,
|
| 61 |
+
"original_code": "def initialize(info = {})\n super(\n update_info(\n info,\n 'Name' => 'Supermicro Onboard IPMI CGI Vulnerability Scanner',\n 'Description' => %q{\n This module checks for known vulnerabilities in the CGI applications of\n Supermicro Onboard IPMI controllers. These issues currently include\n several unauthenticated buffer overflows in the login.cgi and close_window.cgi\n components.\n },\n 'Author' => [\n 'hdm', # Discovery and analysis\n 'juan vazquez' # Metasploit module\n ],\n 'License' => MSF_LICENSE,\n 'References' => [\n [ 'CVE', '2013-3621' ],\n [ 'CVE', '2013-3623' ],\n [ 'URL', 'https://www.rapid7.com/blog/post/2013/11/06/supermicro-ipmi-firmware-vulnerabilities/']\n ],\n 'DisclosureDate' => '2013-11-06',\n 'Notes' => {\n 'Reliability' => UNKNOWN_RELIABILITY,\n 'Stability' => UNKNOWN_STABILITY,\n 'SideEffects' => UNKNOWN_SIDE_EFFECTS\n }\n )\n )\n end",
|
| 62 |
+
"reconstructed_code": ""
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"index": 111,
|
| 66 |
+
"num_nodes": 30,
|
| 67 |
+
"type_accuracy": 0.9667,
|
| 68 |
+
"heuristic_valid": true,
|
| 69 |
+
"syntax_valid": false,
|
| 70 |
+
"original_code": "def allow_actions(action_hash)\n permission_path = normalized_controller_action_string(action_hash)\n\n permissions.select { |p| p.controller_actions.include? permission_path }\n end",
|
| 71 |
+
"reconstructed_code": ""
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"index": 32,
|
| 75 |
+
"num_nodes": 55,
|
| 76 |
+
"type_accuracy": 0.9636,
|
| 77 |
+
"heuristic_valid": true,
|
| 78 |
+
"syntax_valid": false,
|
| 79 |
+
"original_code": "def add_entry(options)\n raise _(\"entries can only be added to classifications\") unless category?\n\n # Inherit from parent classification\n options.merge!(:read_only => read_only, :syntax => syntax, :single_value => single_value, :ns => ns)\n children.create!(options)\n end",
|
| 80 |
+
"reconstructed_code": ""
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"index": 81,
|
| 84 |
+
"num_nodes": 26,
|
| 85 |
+
"type_accuracy": 0.9615,
|
| 86 |
+
"heuristic_valid": true,
|
| 87 |
+
"syntax_valid": false,
|
| 88 |
+
"original_code": "def quote_column_name(name) # :nodoc:\n QUOTED_COLUMN_NAMES[name] ||= PG::Connection.quote_ident(name.to_s).freeze\n end",
|
| 89 |
+
"reconstructed_code": ""
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"index": 123,
|
| 93 |
+
"num_nodes": 38,
|
| 94 |
+
"type_accuracy": 0.9474,
|
| 95 |
+
"heuristic_valid": true,
|
| 96 |
+
"syntax_valid": false,
|
| 97 |
+
"original_code": "def test_reload_expires_cache_of_found_items\n all_posts = Topic.base\n all_posts.to_a\n\n new_post = Topic.create!\n assert_not_includes all_posts, new_post\n assert_includes all_posts.reload, new_post\n end",
|
| 98 |
+
"reconstructed_code": ""
|
| 99 |
+
}
|
| 100 |
+
]
|
| 101 |
+
}
|