<commit_before>#import <Foundation/Foundation.h>

@interface DAZABTest : NSObject

+ (id)splitTestWithName:(NSString *)name values:(NSArray *)values;

+ (id)splitTestWithName:(NSString *)name conditions:(NSDictionary *)conditions;

+ (void)resetSplitTestWithName:(NSString *)name;

@end<commit_msg>[DAZABTest.h] Add documentation<commit_after>#import <Foundation/Foundation.h>

@interface DAZABTest : NSObject

/**
 Run a split test in which the user is randomly assigned to one of the specified values with equal probability.

 @param name A unique identifier for the test.
 @param values The possible results a user can be assigned to.

 @return The result of the split test with the given name.
 */
+ (id)splitTestWithName:(NSString *)name values:(NSArray *)values;

/**
 Run a split test in which the user is randomly assigned to one of the conditions with the specified probabilities.

 @param name A unique identifier for the test.
 @param conditions The keys are the possible results for the user to be assigned to and the values are the weighted probabilities of each result set as an `NSNumber`.

 @return The result of the split test with the given name.
 */
+ (id)splitTestWithName:(NSString *)name conditions:(NSDictionary *)conditions;

/**
 Reset a particular test, by clearing any previous assignments for the user.

 @param name A unique identifier for the test.
 */
+ (void)resetSplitTestWithName:(NSString *)name;

@end
{'fraction_non_alphanumeric': 0.08629088378566457, 'fraction_numerical': 0.0, 'mean_word_length': 5.145299145299146, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6304214', 'n_tokens_mistral': 396, 'n_tokens_neox': 370, 'n_words': 171}