Page MenuHomePhabricator

Draft configuration of test survey before the deploy
Closed, ResolvedPublic

Description

Test survey should be configured as follows:

Survey details

LanguageAudienceCoverageContentDesign
ca -- CatalanLogged-in editors with at least 5 edits0.2 (20%)TBDTBD
fa -- PersianLogged-in editors with at least 5 edits0.1 (10%)TBDTBD

Content and designs available once translations are ready

Acceptance criteria

  • The PHP configuration for the survey is
[
        // T296657
        'name' => 'internal-gdi-safety-survey',
        'type' => 'internal',
        'layout' => 'single-answer',
        'question' => 'ext-quicksurveys-internal-gdi-safety-survey-question',
        'privacyPolicy' => 'ext-quicksurveys-internal-gdi-safety-survey-privacy-policy',
        'answers' => [
            'ext-quicksurveys-internal-gdi-safety-survey-answer-positive',
            'ext-quicksurveys-internal-gdi-safety-survey-answer-negative',
            'ext-quicksurveys-internal-gdi-safety-survey-answer-neutral',
        ],
        'audience' => [
            // T297623
            'minEdits' => 5
        ],
        'enabled' => true,
        'coverage' => 0.2, // T296486
        'platforms' => [
            'desktop' => [ 'stable' ],
            'mobile' => [ 'stable', 'beta' ],
        ],
    ],
  • The survey has been tested out locally

Event Timeline

Madalina renamed this task from Configure test survey to Test survey configuration.Nov 25 2021, 3:48 PM
Madalina renamed this task from Test survey configuration to Configuration of test survey.Nov 25 2021, 3:51 PM
Jhernandez subscribed.

The initial coverage % should be calculated based on the number of logged-in editors (with at least 5 edits if possible) per day, so that we get around ~100 bucketed sessions per day.

Moving back to pre-estimation review since there is too much missing for this task at the moment.

I'll create more specific actionable subtasks.

Jhernandez renamed this task from Configuration of test survey to Draft configuration of test survey before the deploy.Nov 29 2021, 5:12 PM
Jhernandez updated the task description. (Show Details)
Jhernandez updated the task description. (Show Details)

Change 742763 had a related patch set uploaded (by Eigyan; author: Eigyan):

[operations/mediawiki-config@master] WIP: Deploy GDI sur=vey to cawiki and fawiki

https://gerrit.wikimedia.org/r/742763

This comment was removed by eigyan.

Storing this code snippet to be added when fawiki is ready for deploy.

//			'fawiki' => [
//				[
//					// T296655
//					'name' => 'internal-gdi-safety-survey',
//					'type' => 'internal',
//					'layout' => 'single-answer',
//					'question' => 'ext-quicksurveys-internal-gdi-safety-survey-question',
//					'privacyPolicy' => 'ext-quicksurveys-internal-gdi-safety-survey-privacy-policy',
//					'answers' => [
//						'ext-quicksurveys-internal-gdi-safety-survey-answer-positive',
//						'ext-quicksurveys-internal-gdi-safety-survey-answer-negative',
//						'ext-quicksurveys-internal-gdi-safety-survey-answer-neutral',
//					],
//					'enabled' => false,
//					'coverage' => 0.1, // T296652
//					'platforms' => [
//						'desktop' => [ 'stable' ],
//						'mobile' => [ 'stable', 'beta' ],
//					],
//				],
//			],
}

Reviewed and waiting on a second set of eyes.

Change 742763 merged by jenkins-bot:

[operations/mediawiki-config@master] [beta] Deploy GDI survey to cawiki and fawiki

https://gerrit.wikimedia.org/r/742763

I'm likely not the best second set of eyes, but under 'audience' should we also have an

"anons" => false,

line? Or does a minimum edit count essentially account for logged-in status (and capture a few anonymous editors who have made 5 edits).

See for example T227793, which targeted logged-in editors with no minimum edit count.