Skip to content

Commit

Permalink
add test seed
Browse files Browse the repository at this point in the history
  • Loading branch information
goodov committed Jul 11, 2024
1 parent 4b3c6d1 commit 8952912
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/generate-test-seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
console.log(process.env)
console.log(context)
const actionRunURL = `${process.env.ACTION_RUN_URL}`;
const commentBody =
`## 🔄 Generating Test Seed
Expand Down
63 changes: 63 additions & 0 deletions studies/BraveAds.CreativeAdModelBasedPredictorRecencyStudy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
[
{
"name": "BraveAds.CreativeAdModelBasedPredictorRecencyStudy",
"experiment": [
{
"name": "NoRecency",
"probability_weight": 20,
"feature_association": {
"enable_feature": [
"CreativeNotificationAdModelBasedPredictor",
"CreativeNewTabPageAdModelBasedPredictor",
"CreativeInlineContentAdModelBasedPredictor"
]
},
"param": [
{
"name": "last_seen_ad_predictor_weight",
"value": "0.0"
},
{
"name": "last_seen_advertiser_predictor_weight",
"value": "0.0"
}
]
},
{
"name": "NoAdvertiserRecency",
"probability_weight": 20,
"feature_association": {
"enable_feature": [
"CreativeNotificationAdModelBasedPredictor",
"CreativeNewTabPageAdModelBasedPredictor",
"CreativeInlineContentAdModelBasedPredictor"
]
},
"param": [
{
"name": "last_seen_advertiser_predictor_weight",
"value": "0.0"
}
]
},
{
"name": "Control",
"probability_weight": 60
}
],
"filter": {
"channel": [
"NIGHTLY",
"BETA",
"RELEASE"
],
"platform": [
"PLATFORM_WINDOWS",
"PLATFORM_MAC",
"PLATFORM_LINUX",
"PLATFORM_ANDROID",
"PLATFORM_IOS"
]
}
}
]

0 comments on commit 8952912

Please sign in to comment.