Luke Baker [Tue, 22 Nov 2011 15:06:33 +0000]
add comment for ignore choices
Luke Baker [Mon, 21 Nov 2011 20:31:11 +0000]
remove global appearance to vote + skips test
this test is superseded by answered_appearances_equals_votes_and_skips
Luke Baker [Mon, 21 Nov 2011 20:26:13 +0000]
ignore some choices for irregular # of appearances
choices that are deactivated / activated may appear to have irregular #
of appearances. add an array to contain list of choices_ids that we
will ignore for this test.
Luke Baker [Wed, 16 Nov 2011 21:37:30 +0000]
convert error_message to a string
Luke Baker [Wed, 16 Nov 2011 21:28:44 +0000]
add test to check for prompt_id mismatch
check for prompt_id mismatch between appearances and their related votes
Luke Baker [Wed, 16 Nov 2011 21:27:42 +0000]
add task to fix mismatch between prompt_ids
some appearances and their related votes did not have match prompt_ids.
This task will update the appearance's prompt_id to match the vote's
prompt_id.
Luke Baker [Wed, 16 Nov 2011 20:37:15 +0000]
re-indent prune_db rake file
Luke Baker [Wed, 16 Nov 2011 20:34:55 +0000]
re-arrange rake tasks
Luke Baker [Wed, 9 Nov 2011 17:46:11 +0000]
add task to invalidate orphaned votes
Luke Baker [Fri, 4 Nov 2011 16:31:37 +0000]
update links in README
Luke Baker [Fri, 4 Nov 2011 16:29:36 +0000]
Add more documentation to README file
Luke Baker [Mon, 31 Oct 2011 20:34:03 +0000]
update pairwise to not rely on environment varibles
Luke Baker [Mon, 17 Oct 2011 19:02:06 +0000]
Merge branch 'master' into atomic-appearance-updates
Luke Baker [Mon, 17 Oct 2011 19:01:20 +0000]
remove deprecation warnings from tests
Luke Baker [Mon, 17 Oct 2011 18:38:42 +0000]
add atomic appearance updates on vote / skip
Luke Baker [Tue, 11 Oct 2011 14:53:18 +0000]
update readme with new license
Luke Baker [Mon, 26 Sep 2011 20:21:17 +0000]
make irregular apppearances test only seed ideas
Luke Baker [Mon, 26 Sep 2011 16:33:50 +0000]
update answered_appearances
only examine valid votes and skips when looking at answered appearances
Luke Baker [Thu, 22 Sep 2011 20:43:31 +0000]
add active_loser scope for votes
irregular appearances test was using the active scope which was
ensuring the winner was active, but we want to examine all losing
choices that are active
Luke Baker [Thu, 22 Sep 2011 18:36:29 +0000]
reindent test_api.rake
Luke Baker [Thu, 22 Sep 2011 18:19:22 +0000]
test ensures answered_appearances == skips + votes
Add test that checks per question instead of globally
Luke Baker [Fri, 16 Sep 2011 13:53:23 +0000]
add test for creating 2000 ideas in < 20 seconds
Luke Baker [Wed, 14 Sep 2011 15:57:25 +0000]
optimize creation of seed ideas
we have some callbacks on choice creation, that we don't need to run
after every single choice when creating them in a batch. Instead we can
just make sure the last choice in the batch runs the required callbacks.
Luke Baker [Wed, 14 Sep 2011 13:48:09 +0000]
revert test change to use not equal
Luke Baker [Fri, 9 Sep 2011 19:04:11 +0000]
fix check comparing appearances with votes/skip
only warn if answered appearances is less than number of votes and skips
Luke Baker [Wed, 7 Sep 2011 15:47:42 +0000]
don't add min/max date if nil
Luke Baker [Tue, 6 Sep 2011 19:33:13 +0000]
fix call to find_all_by_id so no warnings if some not found
Luke Baker [Tue, 6 Sep 2011 19:23:55 +0000]
update index to not always return all questions
if votes-since is passed as a param only show those votes. If you want
votes-since and all questions, pass all=true.
Luke Baker [Tue, 6 Sep 2011 15:33:41 +0000]
add valid xml response for *by_visitor_id calls
Luke Baker [Thu, 1 Sep 2011 15:36:45 +0000]
update xml response format to be valid xml
Luke Baker [Wed, 20 Jul 2011 19:07:28 +0000]
add session identifier to ideas csv
this allows us to get the info parameter if available for the user who
submitted the idea
Luke Baker [Wed, 6 Jul 2011 02:51:45 +0000]
renable appearances test
Luke Baker [Tue, 28 Jun 2011 16:09:18 +0000]
add index to votes on created_at and question_id
this is used for a query in the admin area that lists gets count of
votes by question for today
Luke Baker [Tue, 28 Jun 2011 16:03:37 +0000]
remove index that was only available locally
Luke Baker [Thu, 23 Jun 2011 20:46:33 +0000]
Merge branch 'master' of github.com:allourideas/pairwise-api
Luke Baker [Thu, 23 Jun 2011 20:46:02 +0000]
disable appearances test for now
Luke Baker [Wed, 22 Jun 2011 21:04:59 +0000]
Merge branch 'master' of github.com:allourideas/pairwise-api
Luke Baker [Wed, 22 Jun 2011 21:04:21 +0000]
add relationships to choice to reduce memory usage of api test
Luke Baker [Mon, 20 Jun 2011 19:32:54 +0000]
add index on prompt_id to appearances table
Luke Baker [Mon, 20 Jun 2011 17:30:33 +0000]
Merge branch 'question-editing'
Luke Baker [Mon, 20 Jun 2011 16:11:11 +0000]
get choice prompts_on_the_left/right counter caches working
Luke Baker [Fri, 17 Jun 2011 14:50:15 +0000]
update appearances test to have cleaner output
Luke Baker [Fri, 17 Jun 2011 14:09:05 +0000]
skip appearance test for certain questions
Early on questions did not have data on loser, so we need to skip those
questions when running the appearance > wins + losses + skips test.
Luke Baker [Thu, 16 Jun 2011 20:07:42 +0000]
add test for new revision to question on edit
Luke Baker [Wed, 25 May 2011 13:41:55 +0000]
add acts_as_versioned plugin to Question model
Luke Baker [Tue, 24 May 2011 16:14:55 +0000]
add new test for appearances count and votes+skips
Luke Baker [Thu, 19 May 2011 16:30:00 +0000]
reload question to get most recent data
Luke Baker [Tue, 17 May 2011 20:51:24 +0000]
when activating a choice, don't call Question.choose_prompt
Add delayed job directly, instead of calling choose_prompt which was
causing issues with tracking prompt_cache_hits and the API test.
Luke Baker [Tue, 17 May 2011 15:47:23 +0000]
upgrade newrelic_rpm
Luke Baker [Thu, 12 May 2011 17:56:56 +0000]
add test to verify range of choice scores
Luke Baker [Wed, 11 May 2011 18:19:17 +0000]
add more details to hit and misses cache tracking
Luke Baker [Wed, 11 May 2011 15:40:26 +0000]
update invalidate_votes_with_bad_response_times
* do batches of 10000
* print instead of puts
* remove confirmation since we'll be running this weekly from cron
Luke Baker [Wed, 11 May 2011 15:23:14 +0000]
update appearances test to only alert for active choices
Luke Baker [Thu, 5 May 2011 19:18:35 +0000]
add API call for median votes per session
Luke Baker [Wed, 27 Apr 2011 12:00:41 +0000]
fix bug in question creation
we were trying to create prompts before there was enough enabled
Luke Baker [Tue, 26 Apr 2011 18:52:31 +0000]
catchup fix
when an idea is activated, reduce prompt_queue cache to refill size and
schedule delayed job to regenerate prompts
Luke Baker [Wed, 20 Apr 2011 13:22:51 +0000]
add newline to test api output
Luke Baker [Wed, 20 Apr 2011 13:09:35 +0000]
skip test for certain questions
before 2010-02-17 we did not track losses, so for any question with
votes prior to that date we skip some tests.
Luke Baker [Thu, 14 Apr 2011 13:21:31 +0000]
ignore a few more tests for certain questions
Any question with votes before 2010-02-17 didn't keep track of the
loser. We need to ignore some tests for those questions.
Luke Baker [Wed, 13 Apr 2011 21:05:06 +0000]
guard against nil vote or appearance
Luke Baker [Fri, 1 Apr 2011 13:33:23 +0000]
upgrade hoptoad to 2.4.9
Luke Baker [Thu, 31 Mar 2011 12:20:44 +0000]
change from Stopped_Voting_Or_Clicking to Stopped_Voting_Or_Skipping
Luke Baker [Fri, 25 Mar 2011 20:15:57 +0000]
change Stopped_Voting to Stopped_Voting_Or_Clicking
add docs for why we skip generating prompts if 90% full
Luke Baker [Thu, 24 Mar 2011 16:47:36 +0000]
change orphaned prompts to Bounce / Stopped_Voting
Luke Baker [Fri, 18 Mar 2011 19:14:11 +0000]
generate 1000 prompts at once
only generate prompts if cache is less than 90% full
Luke Baker [Fri, 4 Mar 2011 17:31:55 +0000]
add support for voter_map with just photocracy or aoi votes
Luke Baker [Mon, 7 Feb 2011 13:37:16 +0000]
give csv jobs better priority than default
Luke Baker [Mon, 31 Jan 2011 17:32:51 +0000]
upgrade delayed_job and modify db schema for delayed_job
Luke Baker [Fri, 28 Jan 2011 16:53:03 +0000]
remove unneeded line
Luke Baker [Thu, 27 Jan 2011 22:17:49 +0000]
rework CSV export architecture
in order to work with multiple app servers, don't export to file.
instead export to redis.
Luke Baker [Thu, 27 Jan 2011 16:36:04 +0000]
move load_config first to be loaded first
Luke Baker [Thu, 27 Jan 2011 13:54:12 +0000]
add symlink to redis.yml in deploy hook
Luke Baker [Wed, 26 Jan 2011 20:22:19 +0000]
add redis configuration file
Luke Baker [Tue, 25 Jan 2011 15:26:07 +0000]
add show_results column to question
Luke Baker [Mon, 24 Jan 2011 20:01:02 +0000]
remove newrelic config
Luke Baker [Mon, 24 Jan 2011 16:10:14 +0000]
upgrade new relic
Luke Baker [Fri, 21 Jan 2011 18:46:27 +0000]
make email address be link
Luke Baker [Fri, 21 Jan 2011 18:43:35 +0000]
update wording on maintenance page
Luke Baker [Fri, 21 Jan 2011 17:47:29 +0000]
remove .org from Photocracy
Luke Baker [Fri, 21 Jan 2011 17:31:23 +0000]
add maintenance page
Luke Baker [Thu, 20 Jan 2011 20:52:22 +0000]
update an index on appearances by add / del
add index on appearances (question_id, voter_id)
remove index on appearances (question_id) as it is now superseded by
the former
Luke Baker [Wed, 19 Jan 2011 20:18:32 +0000]
make updates to simple random choose prompt
rename picked_prompt to simple_random_choose_prompt
add tests for distinct_array_of_choice_ids
modify distinct_array_of_choice_ids to use named parameters
move conditions variable creation outside of loop
update conditions creation to handle when only_active is false
Luke Baker [Wed, 19 Jan 2011 17:01:40 +0000]
add index on choices.creator_id
Luke Baker [Wed, 19 Jan 2011 16:46:13 +0000]
refactor random prompt picking
when using catchup and no prompt found, use random prompt
Luke Baker [Tue, 18 Jan 2011 16:55:29 +0000]
fix catchup prompt bug and increase speed
Luke Baker [Wed, 12 Jan 2011 19:24:41 +0000]
change question.id to ideamarketplace.id in CSV
Luke Baker [Mon, 10 Jan 2011 22:37:22 +0000]
CSV: change N/A to NA
Luke Baker [Mon, 10 Jan 2011 22:32:24 +0000]
CSV: remove appearance id from votes and non-votes
Luke Baker [Mon, 10 Jan 2011 20:38:59 +0000]
make orphaned appearances valid
Luke Baker [Tue, 4 Jan 2011 18:10:44 +0000]
add rake task for updating all choice scores
Luke Baker [Tue, 4 Jan 2011 17:38:03 +0000]
when updating wins / losses, re-compute score
Luke Baker [Tue, 21 Dec 2010 15:18:22 +0000]
add task to update cached Choice losses / wins
add indexes to votes table to speed up task, and should speed up other
queries we do
Luke Baker [Thu, 9 Dec 2010 02:30:43 +0000]
add json gem requirement to environment.rb
Luke Baker [Thu, 9 Dec 2010 02:24:41 +0000]
add .rvmrc to .gitignore
Luke Baker [Wed, 8 Dec 2010 21:14:02 +0000]
update catchup algorithm
When calculating weights, ignore prompts with invalid choices. Update
if statement that determines if all possible valid prompts have been
created. Update test factory to include case where there exists a prompt
with invalid choices.
Luke Baker [Wed, 8 Dec 2010 18:59:13 +0000]
add tests to ensure we only process active choices when using the
catchup algorithm
Luke Baker [Wed, 8 Dec 2010 18:18:31 +0000]
only use active choices when using catchup algo
Luke Baker [Wed, 8 Dec 2010 18:01:34 +0000]
more whitespace fixes
Luke Baker [Wed, 8 Dec 2010 16:15:07 +0000]
more whitespace fixes
Luke Baker [Wed, 8 Dec 2010 16:12:59 +0000]
make whitespace changes to question model