KaiquanMah commited on
Commit
dece566
·
verified ·
1 Parent(s): 5037e5c

Upload 9 files

Browse files
fewshot-1example-per-nonoos/stackoverflow_only10notoos.txt ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Advantages and disadvantages of using Ajax update panels in ASP.NET application"
3
+ Category:
4
+ {{
5
+ "category": "ajax",
6
+ "confidence": 23.06
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "Drupal theme_table... A way to theme nested tables?"
11
+ Category:
12
+ {{
13
+ "category": "drupal",
14
+ "confidence": 64.44
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "How to rearrange this function to return the extended list in Haskell"
19
+ Category:
20
+ {{
21
+ "category": "haskell",
22
+ "confidence": 33.12
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "Upgrade hibernate-annotations and hibernate-validator"
27
+ Category:
28
+ {{
29
+ "category": "hibernate",
30
+ "confidence": 35.92
31
+ }}
32
+
33
+ Example 5:
34
+ Question: "How do I dynamically create an Expression<Func<MyClass, bool>> predicate?"
35
+ Category:
36
+ {{
37
+ "category": "linq",
38
+ "confidence": 76.55
39
+ }}
40
+
41
+ Example 6:
42
+ Question: "magento payment methods - enable for admin only"
43
+ Category:
44
+ {{
45
+ "category": "magento",
46
+ "confidence": 92.6
47
+ }}
48
+
49
+ Example 7:
50
+ Question: "QT for cross platform plugin development?"
51
+ Category:
52
+ {{
53
+ "category": "qt",
54
+ "confidence": 92.42
55
+ }}
56
+
57
+ Example 8:
58
+ Question: "parsing recursive structures in scala"
59
+ Category:
60
+ {{
61
+ "category": "scala",
62
+ "confidence": 14.14
63
+ }}
64
+
65
+ Example 9:
66
+ Question: "Sharepoint Blog: enable/disable comments regarding field value of Posts"
67
+ Category:
68
+ {{
69
+ "category": "sharepoint",
70
+ "confidence": 56.26
71
+ }}
72
+
73
+ Example 10:
74
+ Question: "Faces conversion service is not found for converting 'dataModel'"
75
+ Category:
76
+ {{
77
+ "category": "spring",
78
+ "confidence": 86.7
79
+ }}
fewshot-1example-per-nonoos/stackoverflow_only12notoos.txt ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Advantages and disadvantages of using Ajax update panels in ASP.NET application"
3
+ Category:
4
+ {{
5
+ "category": "ajax",
6
+ "confidence": 99.9
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "LINES and COLUMNS environmental variables lost in a script"
11
+ Category:
12
+ {{
13
+ "category": "bash",
14
+ "confidence": 21.87
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "Drupal : adding status field to node"
19
+ Category:
20
+ {{
21
+ "category": "drupal",
22
+ "confidence": 75.84
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "Why must recursion be in a separate file in hugs?"
27
+ Category:
28
+ {{
29
+ "category": "haskell",
30
+ "confidence": 14.35
31
+ }}
32
+
33
+ Example 5:
34
+ Question: "Hibernate: Persist an object as a String?"
35
+ Category:
36
+ {{
37
+ "category": "hibernate",
38
+ "confidence": 36.93
39
+ }}
40
+
41
+ Example 6:
42
+ Question: "What are the advantages of LINQ?"
43
+ Category:
44
+ {{
45
+ "category": "linq",
46
+ "confidence": 76.11
47
+ }}
48
+
49
+ Example 7:
50
+ Question: "Magento website payment pro USA"
51
+ Category:
52
+ {{
53
+ "category": "magento",
54
+ "confidence": 54.49
55
+ }}
56
+
57
+ Example 8:
58
+ Question: "Command key as Meta key in OS X Terminal.app"
59
+ Category:
60
+ {{
61
+ "category": "osx",
62
+ "confidence": 10.18
63
+ }}
64
+
65
+ Example 9:
66
+ Question: "Deploy Qt+Boost application on a Mac and Windows."
67
+ Category:
68
+ {{
69
+ "category": "qt",
70
+ "confidence": 89.73
71
+ }}
72
+
73
+ Example 10:
74
+ Question: "By-Name-Parameters for Constructors"
75
+ Category:
76
+ {{
77
+ "category": "scala",
78
+ "confidence": 78.05
79
+ }}
80
+
81
+ Example 11:
82
+ Question: "How do I consolidate entries from multiple employee blogs into a single RSS feed"
83
+ Category:
84
+ {{
85
+ "category": "sharepoint",
86
+ "confidence": 72.23
87
+ }}
88
+
89
+ Example 12:
90
+ Question: "Anybody using Qi4J"
91
+ Category:
92
+ {{
93
+ "category": "spring",
94
+ "confidence": 87.95
95
+ }}
fewshot-1example-per-nonoos/stackoverflow_only14notoos.txt ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Advantages and disadvantages of using Ajax update panels in ASP.NET application"
3
+ Category:
4
+ {{
5
+ "category": "ajax",
6
+ "confidence": 42.17
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "LINES and COLUMNS environmental variables lost in a script"
11
+ Category:
12
+ {{
13
+ "category": "bash",
14
+ "confidence": 86.08
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "Encoding string arguments for URLs"
19
+ Category:
20
+ {{
21
+ "category": "cocoa",
22
+ "confidence": 23.82
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "Calendar + Events in Drupal 5"
27
+ Category:
28
+ {{
29
+ "category": "drupal",
30
+ "confidence": 49.85
31
+ }}
32
+
33
+ Example 5:
34
+ Question: "Why doesn't the "$" function work consistantly?"
35
+ Category:
36
+ {{
37
+ "category": "haskell",
38
+ "confidence": 58.8
39
+ }}
40
+
41
+ Example 6:
42
+ Question: "How to integrate Hibernate with JBoss 4.2.x server?"
43
+ Category:
44
+ {{
45
+ "category": "hibernate",
46
+ "confidence": 30.81
47
+ }}
48
+
49
+ Example 7:
50
+ Question: "Can I use LINQ to convert a List<MyObjectType> into a DataSet?"
51
+ Category:
52
+ {{
53
+ "category": "linq",
54
+ "confidence": 49.81
55
+ }}
56
+
57
+ Example 8:
58
+ Question: "Magento frontend and backend page looks different"
59
+ Category:
60
+ {{
61
+ "category": "magento",
62
+ "confidence": 43.52
63
+ }}
64
+
65
+ Example 9:
66
+ Question: "Precompiled headers and compiling universal objects on OSX"
67
+ Category:
68
+ {{
69
+ "category": "osx",
70
+ "confidence": 90.58
71
+ }}
72
+
73
+ Example 10:
74
+ Question: "GLWidget in QT only updating on mousemove"
75
+ Category:
76
+ {{
77
+ "category": "qt",
78
+ "confidence": 10.12
79
+ }}
80
+
81
+ Example 11:
82
+ Question: "How do I configure jEdit for Scala projects?"
83
+ Category:
84
+ {{
85
+ "category": "scala",
86
+ "confidence": 37.92
87
+ }}
88
+
89
+ Example 12:
90
+ Question: "Unit testing code that uses PortalSiteMapProvider"
91
+ Category:
92
+ {{
93
+ "category": "sharepoint",
94
+ "confidence": 92.13
95
+ }}
96
+
97
+ Example 13:
98
+ Question: "Spring 3 and a custom object wrapper for FreeMarker"
99
+ Category:
100
+ {{
101
+ "category": "spring",
102
+ "confidence": 72.05
103
+ }}
104
+
105
+ Example 14:
106
+ Question: "numericupdown control"
107
+ Category:
108
+ {{
109
+ "category": "visual-studio",
110
+ "confidence": 30.06
111
+ }}
fewshot-1example-per-nonoos/stackoverflow_only16notoos.txt ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Advantages and disadvantages of using Ajax update panels in ASP.NET application"
3
+ Category:
4
+ {{
5
+ "category": "ajax",
6
+ "confidence": 79.88
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "LINES and COLUMNS environmental variables lost in a script"
11
+ Category:
12
+ {{
13
+ "category": "bash",
14
+ "confidence": 98.94
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "Encoding string arguments for URLs"
19
+ Category:
20
+ {{
21
+ "category": "cocoa",
22
+ "confidence": 97.04
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "Calendar + Events in Drupal 5"
27
+ Category:
28
+ {{
29
+ "category": "drupal",
30
+ "confidence": 26.92
31
+ }}
32
+
33
+ Example 5:
34
+ Question: "What is a good web-based Grid that accepts Excel clipboard data?"
35
+ Category:
36
+ {{
37
+ "category": "excel",
38
+ "confidence": 93.34
39
+ }}
40
+
41
+ Example 6:
42
+ Question: "Haskell: OpenGL, how to prevent immediate window closing"
43
+ Category:
44
+ {{
45
+ "category": "haskell",
46
+ "confidence": 20.72
47
+ }}
48
+
49
+ Example 7:
50
+ Question: "What happens if hibernate_sequences table is accidentally reset?"
51
+ Category:
52
+ {{
53
+ "category": "hibernate",
54
+ "confidence": 28.94
55
+ }}
56
+
57
+ Example 8:
58
+ Question: "Is LinqToSQL the same as Linq?"
59
+ Category:
60
+ {{
61
+ "category": "linq",
62
+ "confidence": 64.91
63
+ }}
64
+
65
+ Example 9:
66
+ Question: "Magento - blank lines being added to wsdl file"
67
+ Category:
68
+ {{
69
+ "category": "magento",
70
+ "confidence": 83.75
71
+ }}
72
+
73
+ Example 10:
74
+ Question: "Invoking ADO.NET from MATLAB"
75
+ Category:
76
+ {{
77
+ "category": "matlab",
78
+ "confidence": 78.09
79
+ }}
80
+
81
+ Example 11:
82
+ Question: "backporting NSWindowDelegates windowDidEndLiveResize behaviour in OSX 10.5?"
83
+ Category:
84
+ {{
85
+ "category": "osx",
86
+ "confidence": 26.82
87
+ }}
88
+
89
+ Example 12:
90
+ Question: "QT Model/View programming with complicated data structures"
91
+ Category:
92
+ {{
93
+ "category": "qt",
94
+ "confidence": 39.31
95
+ }}
96
+
97
+ Example 13:
98
+ Question: "Scala: How to "store" a function in a var?"
99
+ Category:
100
+ {{
101
+ "category": "scala",
102
+ "confidence": 6.69
103
+ }}
104
+
105
+ Example 14:
106
+ Question: "Complex form design in Sharepoint"
107
+ Category:
108
+ {{
109
+ "category": "sharepoint",
110
+ "confidence": 24.99
111
+ }}
112
+
113
+ Example 15:
114
+ Question: "Multiple servers checking and writing flag in database"
115
+ Category:
116
+ {{
117
+ "category": "spring",
118
+ "confidence": 86.08
119
+ }}
120
+
121
+ Example 16:
122
+ Question: "VS.NET "watched" objects and recursive depth"
123
+ Category:
124
+ {{
125
+ "category": "visual-studio",
126
+ "confidence": 28.51
127
+ }}
fewshot-1example-per-nonoos/stackoverflow_only18notoos.txt ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Advantages and disadvantages of using Ajax update panels in ASP.NET application"
3
+ Category:
4
+ {{
5
+ "category": "ajax",
6
+ "confidence": 10.68
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "Apache mod-rewrite for shorter urls"
11
+ Category:
12
+ {{
13
+ "category": "apache",
14
+ "confidence": 64.49
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "redirect stdout and stderr to a single file with prefixes"
19
+ Category:
20
+ {{
21
+ "category": "bash",
22
+ "confidence": 36.69
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "UIWebView in multithread ViewController"
27
+ Category:
28
+ {{
29
+ "category": "cocoa",
30
+ "confidence": 25.82
31
+ }}
32
+
33
+ Example 5:
34
+ Question: "Drupal node_seach"
35
+ Category:
36
+ {{
37
+ "category": "drupal",
38
+ "confidence": 79.8
39
+ }}
40
+
41
+ Example 6:
42
+ Question: "How to allow ink in a protected worksheet?"
43
+ Category:
44
+ {{
45
+ "category": "excel",
46
+ "confidence": 57.97
47
+ }}
48
+
49
+ Example 7:
50
+ Question: "Sampling sequences of random numbers in Haskell"
51
+ Category:
52
+ {{
53
+ "category": "haskell",
54
+ "confidence": 5.25
55
+ }}
56
+
57
+ Example 8:
58
+ Question: "Strategies for designing a database (being accessed by hibernate) which will have alot of archivial data."
59
+ Category:
60
+ {{
61
+ "category": "hibernate",
62
+ "confidence": 17.25
63
+ }}
64
+
65
+ Example 9:
66
+ Question: "What OR/M tool that supports Linq/Iqueryable would you recommend?"
67
+ Category:
68
+ {{
69
+ "category": "linq",
70
+ "confidence": 80.48
71
+ }}
72
+
73
+ Example 10:
74
+ Question: "Magento & Subversion (SVN) - Getting a Development Environment Started?"
75
+ Category:
76
+ {{
77
+ "category": "magento",
78
+ "confidence": 47.77
79
+ }}
80
+
81
+ Example 11:
82
+ Question: "Plot Overlay Matlab"
83
+ Category:
84
+ {{
85
+ "category": "matlab",
86
+ "confidence": 13.42
87
+ }}
88
+
89
+ Example 12:
90
+ Question: "How to see what label color is on a file/folder from within Termnal (Mac OS X)"
91
+ Category:
92
+ {{
93
+ "category": "osx",
94
+ "confidence": 1.57
95
+ }}
96
+
97
+ Example 13:
98
+ Question: "Windows 7, Visual Studio 2008 and Qt 4.6, 32 OR 64 bit?"
99
+ Category:
100
+ {{
101
+ "category": "qt",
102
+ "confidence": 67.18
103
+ }}
104
+
105
+ Example 14:
106
+ Question: "Why is the + operator for List deprecated in Scala?"
107
+ Category:
108
+ {{
109
+ "category": "scala",
110
+ "confidence": 87.07
111
+ }}
112
+
113
+ Example 15:
114
+ Question: "Sharepoint ItemStyle.xsl for CQWP using images from a content type"
115
+ Category:
116
+ {{
117
+ "category": "sharepoint",
118
+ "confidence": 49.91
119
+ }}
120
+
121
+ Example 16:
122
+ Question: "Problem migrating Spring Web App from tomcat 5.5 to tomcat 6.0"
123
+ Category:
124
+ {{
125
+ "category": "spring",
126
+ "confidence": 49.51
127
+ }}
128
+
129
+ Example 17:
130
+ Question: "SVN Update of multiple files"
131
+ Category:
132
+ {{
133
+ "category": "svn",
134
+ "confidence": 51.34
135
+ }}
136
+
137
+ Example 18:
138
+ Question: "How to programmatically cancel an embedded MsBuild build"
139
+ Category:
140
+ {{
141
+ "category": "visual-studio",
142
+ "confidence": 70.15
143
+ }}
fewshot-1example-per-nonoos/stackoverflow_only2notoos.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "How do I do python-style indent/dedent tokens with alex/haskell?"
3
+ Category:
4
+ {{
5
+ "category": "haskell",
6
+ "confidence": 25.5
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "Adjusting Order Quantities in Magento"
11
+ Category:
12
+ {{
13
+ "category": "magento",
14
+ "confidence": 47.16
15
+ }}
fewshot-1example-per-nonoos/stackoverflow_only4notoos.txt ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Customizing gallery layout in Drupal with Views and CCK"
3
+ Category:
4
+ {{
5
+ "category": "drupal",
6
+ "confidence": 76.19
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "In Haskell how do you extract strings from an XML document?"
11
+ Category:
12
+ {{
13
+ "category": "haskell",
14
+ "confidence": 0.98
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "When using Linq, is DbNull equivalent to Null?"
19
+ Category:
20
+ {{
21
+ "category": "linq",
22
+ "confidence": 61.08
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "Using Magento 1.4's WYSIWYG editor on custom admin pages"
27
+ Category:
28
+ {{
29
+ "category": "magento",
30
+ "confidence": 33.69
31
+ }}
fewshot-1example-per-nonoos/stackoverflow_only6notoos.txt ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Advantages and disadvantages of using Ajax update panels in ASP.NET application"
3
+ Category:
4
+ {{
5
+ "category": "ajax",
6
+ "confidence": 44.48
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "Drupal theme_table... A way to theme nested tables?"
11
+ Category:
12
+ {{
13
+ "category": "drupal",
14
+ "confidence": 67.6
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "How to rearrange this function to return the extended list in Haskell"
19
+ Category:
20
+ {{
21
+ "category": "haskell",
22
+ "confidence": 18.23
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "Query an XDocument for elements by name at any depth"
27
+ Category:
28
+ {{
29
+ "category": "linq",
30
+ "confidence": 5.68
31
+ }}
32
+
33
+ Example 5:
34
+ Question: "Magento Store - Best Selling items by Category"
35
+ Category:
36
+ {{
37
+ "category": "magento",
38
+ "confidence": 35.07
39
+ }}
40
+
41
+ Example 6:
42
+ Question: "QMetaObject Compiler explain?"
43
+ Category:
44
+ {{
45
+ "category": "qt",
46
+ "confidence": 50.66
47
+ }}
fewshot-1example-per-nonoos/stackoverflow_only8notoos.txt ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Example 1:
2
+ Question: "Advantages and disadvantages of using Ajax update panels in ASP.NET application"
3
+ Category:
4
+ {{
5
+ "category": "ajax",
6
+ "confidence": 31.21
7
+ }}
8
+
9
+ Example 2:
10
+ Question: "Drupal theme_table... A way to theme nested tables?"
11
+ Category:
12
+ {{
13
+ "category": "drupal",
14
+ "confidence": 64.23
15
+ }}
16
+
17
+ Example 3:
18
+ Question: "How to rearrange this function to return the extended list in Haskell"
19
+ Category:
20
+ {{
21
+ "category": "haskell",
22
+ "confidence": 7.01
23
+ }}
24
+
25
+ Example 4:
26
+ Question: "Query an XDocument for elements by name at any depth"
27
+ Category:
28
+ {{
29
+ "category": "linq",
30
+ "confidence": 12.24
31
+ }}
32
+
33
+ Example 5:
34
+ Question: "Magento Store - Best Selling items by Category"
35
+ Category:
36
+ {{
37
+ "category": "magento",
38
+ "confidence": 16.06
39
+ }}
40
+
41
+ Example 6:
42
+ Question: "QMetaObject Compiler explain?"
43
+ Category:
44
+ {{
45
+ "category": "qt",
46
+ "confidence": 70.98
47
+ }}
48
+
49
+ Example 7:
50
+ Question: "Transforming Scala varargs into Java Object... varargs"
51
+ Category:
52
+ {{
53
+ "category": "scala",
54
+ "confidence": 37.39
55
+ }}
56
+
57
+ Example 8:
58
+ Question: "Uable to access sharepoint site"
59
+ Category:
60
+ {{
61
+ "category": "sharepoint",
62
+ "confidence": 4.73
63
+ }}