Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
26
27
content
stringlengths
5.14k
45.6k
classeval_data_ClassEval_0
""" This class is a filter used for accessing gateway filtering, primarily for authentication and access log recording. """ import logging import datetime import logging import datetime class AccessGatewayFilter: """ This class is a filter used for accessing gateway filtering, primarily for auth...
classeval_data_ClassEval_1
""" This is a class for calculating the area of different shapes, including circle, sphere, cylinder, sector and annulus. """ import math import math class AreaCalculator: """ This is a class for calculating the area of different shapes, including circle, sphere, cylinder, sector and annulus. ...
classeval_data_ClassEval_2
""" This is a class for parsing command line arguments to a dictionary. """ class ArgumentParser: """ This is a class for parsing command line arguments to a dictionary. """ def __init__(self): """ Initialize the fields. self.arguments is a dict that stores the a...
classeval_data_ClassEval_3
""" The Arrangement class provides permutation calculations and selection operations for a given set of data elements. """ import itertools import itertools class ArrangementCalculator: """ The Arrangement class provides permutation calculations and selection operations for a given set of data e...
classeval_data_ClassEval_4
""" This is a class as an student assessment system, which supports add student, add course score, calculate GPA, and other functions for students and courses. """ class AssessmentSystem: """ This is a class as an student assessment system, which supports add student, add course score, calculate...
classeval_data_ClassEval_5
""" This class is an automatic guitar simulator that can interpret and play based on the input guitar sheet music. """ class AutomaticGuitarSimulator: """ This class is an automatic guitar simulator that can interpret and play based on the input guitar sheet music. """ def __init__(self...
classeval_data_ClassEval_6
""" This is a class that partitions the given list into different blocks by specifying the number of partitions, with each block having a uniformly distributed length. """ class AvgPartition: """ This is a class that partitions the given list into different blocks by specifying the number of par...
classeval_data_ClassEval_7
""" This is a class that checks for bracket matching """ class BalancedBrackets: """ This is a class that checks for bracket matching """ def __init__(self, expr): """ Initializes the class with an expression. :param expr: The expression to check for balanced bra...
classeval_data_ClassEval_8
""" This is a class as a bank account system, which supports deposit money, withdraw money, view balance, and transfer money. """ class BankAccount: """ This is a class as a bank account system, which supports deposit money, withdraw money, view balance, and transfer money. """ def __in...
classeval_data_ClassEval_9
""" This is a class that implements big number calculations, including adding, subtracting and multiplying. """ class BigNumCalculator: """ This is a class that implements big number calculations, including adding, subtracting and multiplying. """ @staticmethod def add(num1, num2): ...
classeval_data_ClassEval_10
""" This is a class used to process binary data, which includes functions such as clearing non 0 or 1 characters, counting binary string information, and converting to corresponding strings based on different encoding methods. """ class BinaryDataProcessor: """ This is a class used to process bi...
classeval_data_ClassEval_11
""" This is a utility class that provides methods for manipulating and checking status using bitwise operations. """ class BitStatusUtil: """ This is a utility class that provides methods for manipulating and checking status using bitwise operations. """ @staticmethod def add(states...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3