Victor Ng
3183eab590
Reworked the URL handler to accept a hashed ID instead of a raw ID.
...
Added docs, tests and code to enable promoted GUIDs to be passed in through the TAAR API
2018-11-30 18:02:22 +00:00
Victor Ng
bab992b682
Misc cleanups
...
* added dependency on pytest-flask
* Updated logging method names
* cleaned up S3 configuration for all recommendation engines
All S3 configuration data is now in taar.recommenders.s3config
* dropped pinned hashes for packages in requirements.txt
2018-11-30 18:02:22 +00:00
Victor Ng
7820aab240
Flake8/syntax cleanup
2018-11-27 17:30:58 +00:00
Victor Ng
8d257bd539
Dropped thrift dependency as it's no longer required
2018-11-27 17:30:58 +00:00
Victor Ng
2976fec18e
added flake8 configuration for consistent syntax checking across local and travis builds
2018-11-27 17:30:58 +00:00
Victor Ng
f33c0c88d3
bumped paramiko and requests for security fixes
2018-11-27 15:42:53 +00:00
Victor Ng
ab7cc6bdf0
split requirements up because travis has distutils certifi libraries
2018-11-26 22:16:02 +00:00
Victor Ng
99afa6be56
bumped certifi requirements
2018-11-26 22:16:02 +00:00
mlopatka
08732b2105
Fix nit from bmiroglio review.
2018-11-26 13:32:43 +00:00
mlopatka
86bf9865ce
Update DATA_COLLECTION_POLICY.md with TOC.
2018-11-26 13:32:43 +00:00
Martin Lopatka
e8b6dc1fd0
Add initial version of DATA COLLECTION POLICY.
2018-11-12 12:47:41 +01:00
Victor Ng
3f952dea3e
bumped to 0.3.6
2018-08-17 15:35:55 -04:00
benmiroglio
0230aed6ea
Update retention notebook to current verison
2018-08-17 14:43:32 -04:00
Victor Ng
43a46355e9
force certifi to install only for python3.0 and up
2018-08-17 14:42:34 -04:00
Victor Ng
f9a5285be6
flake8 fix
2018-08-17 14:42:34 -04:00
Victor Ng
be04538c05
bumped certifi dependency up
2018-08-17 14:42:34 -04:00
Victor Ng
ce8336318d
dropped awscli from requirements.txt
2018-08-17 11:36:15 -04:00
Victor Ng
13eee59e9c
bumped cryptography==2.3 in requirements.txt and downgraded aws-xray-sdk
2018-08-17 11:24:26 -04:00
Victor Ng
1aab10ad06
updated recommenders to use the GUID only amo curated whitelist
2018-08-16 23:20:41 -04:00
Victor Ng
1d33c2ca34
fixed invalid S3 URL in README for addon_mapping.json in CollaborativeRecommender
2018-08-15 16:43:02 -04:00
Victor Ng
b10eed92ec
added documentation for required S3 files in README
2018-08-15 16:03:36 -04:00
Victor Ng
374f9d5867
fixed the S3 URL configuration for CollaborativeRecommender
2018-08-15 16:02:36 -04:00
Victor Ng
66451ac17c
bumped to 0.3.4
2018-08-14 17:06:25 -04:00
Victor Ng
4400f0afc4
allow both hyphens and underscores for intervention branch names
2018-08-14 17:00:58 -04:00
Victor Ng
f3df76ecef
added fixed test client IDs to force results to be emitted
2018-08-14 12:34:08 -04:00
Victor Ng
69b91109f1
cleaned up RecommendationManager test fixtures
2018-08-14 11:37:37 -04:00
Victor Ng
54340eca10
Added more explicit logging for method dispatch to run a particular intervention
2018-08-13 17:00:26 -04:00
Victor Ng
f5203972dc
Forced boto to use more aggressive retries on loading S3 data
2018-08-13 16:59:58 -04:00
Victor Ng
dfe8e2b2fb
Removed broken branch validation code
2018-08-13 16:58:58 -04:00
Victor Ng
747d65fc9f
added lots of debug logging to trace errors with taar service
2018-08-13 13:45:46 -04:00
Victor Ng
7f6b2e7442
missed an argument when instantiating the LazyJSONLoader
...
not caught during unittests as the JSON loader itself is clobbered by a
mock
2018-08-08 11:45:55 -04:00
Victor Ng
6b95af983b
hybrid is sorted out (finally)
2018-08-08 11:29:04 -04:00
Victor Ng
88b1ef6649
Merged CuratedWhitlelist module (s3data) into the HybridRecommender
...
updated bunch of test cases using context injected JSON loaders
2018-08-07 23:01:32 -04:00
Victor Ng
33dddd81e8
upgrade locale recommender to use self expiring s3 data
2018-08-07 22:22:49 -04:00
Victor Ng
9cefd94ceb
more tests updated with better mocking
2018-08-07 22:08:42 -04:00
Victor Ng
24e4b59c64
updated ensemble recommender test cases and collaborative test cases
2018-08-07 16:31:10 -04:00
Victor Ng
29bf131142
dropped cache testing as it was pulled in from taar-lite
2018-08-07 16:03:34 -04:00
Victor Ng
f0a62fc1c0
updated S3 data loader code for Collaborative Recommender
2018-08-07 16:02:46 -04:00
Victor Ng
5ab1a6ac30
update boto3, botocore and futures in requirements.txt
2018-08-07 16:02:09 -04:00
Victor Ng
e19550b556
Removed all old S3 JSON loader code and references
2018-08-07 13:35:55 -04:00
Victor Ng
20f09884e0
copied taar-lite lazy s3 loader in
2018-08-07 13:22:29 -04:00
Victor Ng
c4609a3618
Added test stub for hybrid recommender
2018-08-07 12:56:24 -04:00
Victor Ng
1f4d24a017
renamed clumsy variable names
2018-08-07 12:56:15 -04:00
Victor Ng
49e19f413b
curated test case
2018-08-07 11:28:22 -04:00
Victor Ng
78943648d9
tests for curated recommender
2018-08-07 11:21:20 -04:00
Victor Ng
9812f43832
added MPL header
2018-08-03 22:32:07 -04:00
Victor Ng
78017c2fb5
more py2.7 fixes for requirements
2018-08-03 17:43:37 -04:00
Victor Ng
5fe9a492e7
bumped srgutil to 0.1.7 to fix python 2.7 problems
2018-08-02 22:45:08 -04:00
Victor Ng
6c776b9ff0
updated most logging infrastructure to use mozlog logging
2018-08-02 16:59:53 -04:00
Victor Ng
b4f5f6a48c
Fixed up all test cases that broke when merging in
...
srgutils.context.Context
2018-08-02 16:35:38 -04:00