Skip to content

Update to current working status #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clutch/templates/ab/quickstart.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h3>2. Set up the A/B Testing Framework in Your App Delegate</h3>

In <strong>didFinishLaunchingWithOptions</strong> add the following lines:
<pre>// Set up Clutch A/B testing
[ClutchAB setupForKey:@"{{ app_key }}" rpcURL:@"http://127.0.0.1:41674/"];</pre>
[ClutchAB setupWithKey:@"{{ app_key }}" rpcURL:@"http://127.0.0.1:41674/"];</pre>
</p>

<h3>3. Start A/B Testing!</h3>
Expand Down
2 changes: 1 addition & 1 deletion clutchrpc/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def insert_ab_log(log):
# Now create any un-created variation objects
for i in xrange(data['num_choices']):
try:
name = 'Test ' + ('ABCDEFGHIJKLMNOPQRSTUVWXYZ'[i],)
name = 'Test ' + ('ABCDEFGHIJKLMNOPQRSTUVWXYZ'[i])
db.execute(VARIATION_INSERT_SQL, [
experiment['id'],
0.5 / data['num_choices'],
Expand Down
2 changes: 1 addition & 1 deletion docs/ab-testing-ios.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Now in your project's ``AppDelegate.m``, under

.. code-block:: obj-c

[ClutchAB setupForKey:@"YOUR_APPLICATION_KEY" rpcURL:@"YOUR_RPC_URL"];
[ClutchAB setupWithKey:@"YOUR_APPLICATION_KEY" rpcURL:@"YOUR_RPC_URL"];

That's it--you're now set up to run tests!

Expand Down