Skip to content

Commit

Permalink
Rename BFCL_v3_java.json to BFCL_v3_java.jsonl
Browse files Browse the repository at this point in the history
  • Loading branch information
divijmuthu authored Oct 26, 2024
1 parent 7b9c823 commit b3171ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@
{"id": "java_96", "question": [[{"role": "user", "content": "Help me generate a CodeTree for a call conversion in a Truffle DSL processor, using a non-static method named 'convertValue', which requires a frame parameter named 'frameVar' and a return value represented by 'returnValueCode'?"}]], "function": [{"name": "InstrumentableProcessor.createCallConverter", "description": "Generates a CodeTree that represents a call to a converter method, handling both static and instance methods, and accommodating for different numbers of parameters.", "parameters": {"type": "dict", "properties": {"converterMethod": {"type": "any", "description": "The ExecutableElement representing the converter method."}, "frameParameterName": {"type": "String", "description": "The name of the frame parameter to be used in the call."}, "returnName": {"type": "any", "description": "The CodeTree representing the name of the return value."}}, "required": ["converterMethod", "frameParameterName", "returnName"]}}]}
{"id": "java_97", "question": [[{"role": "user", "content": "Help me generate introspection information for a class `NodeClass` representing a node in a Truffle DSL processor, and specify that the introspection is not inlined?"}]], "function": [{"name": "FlatNodeGenFactory.generateIntrospectionInfo", "description": "Generates introspection information for a given class representing a node in the Truffle DSL processor.", "parameters": {"type": "dict", "properties": {"clazz": {"type": "any", "description": "The class element representing the node for which introspection information is to be generated."}, "inlined": {"type": "boolean", "description": "Indicates whether the introspection is inlined."}}, "required": ["clazz", "inlined"]}}]}
{"id": "java_98", "question": [[{"role": "user", "content": "What is the probability of a loop condition being true if it has been evaluated as true 150 times and false 50 times?"}]], "function": [{"name": "LoopConditionProfile.calculateProbability", "description": "Calculates the probability of a loop condition being true based on the counts of true and false evaluations.", "parameters": {"type": "dict", "properties": {"trueCountLocal": {"type": "long", "description": "The count of times the loop condition has been evaluated to true."}, "falseCountLocal": {"type": "integer", "description": "The count of times the loop condition has been evaluated to false."}}, "required": ["trueCountLocal", "falseCountLocal"]}}]}
{"id": "java_99", "question": [[{"role": "user", "content": "Help me create a delegate library instance for a custom library type `MyCustomLibrary` using a factory object `myFactory` and an existing delegate instance `existingDelegate` that is not adoptable?"}]], "function": [{"name": "LibraryExport.createDelegate", "description": "Creates a delegate library instance using the provided factory and delegate. If the delegate is not adoptable, it forces adoption to ensure proper parent pointer implementation.", "parameters": {"type": "dict", "properties": {"factory": {"type": "any", "description": "The factory used to create a new delegate instance of the library."}, "delegate": {"type": "any", "description": "The existing delegate instance of the library."}}, "required": ["factory", "delegate"]}}]}
{"id": "java_99", "question": [[{"role": "user", "content": "Help me create a delegate library instance for a custom library type `MyCustomLibrary` using a factory object `myFactory` and an existing delegate instance `existingDelegate` that is not adoptable?"}]], "function": [{"name": "LibraryExport.createDelegate", "description": "Creates a delegate library instance using the provided factory and delegate. If the delegate is not adoptable, it forces adoption to ensure proper parent pointer implementation.", "parameters": {"type": "dict", "properties": {"factory": {"type": "any", "description": "The factory used to create a new delegate instance of the library."}, "delegate": {"type": "any", "description": "The existing delegate instance of the library."}}, "required": ["factory", "delegate"]}}]}

0 comments on commit b3171ab

Please sign in to comment.