Here is the design of a clinical trial:

Official Title: Effects of a Community-based Weight Loss Programme Targetting Chinese Overweight Adults With Pre-diabetes: A Randomized Controlled Trial

Included conditions:
- Pre-diabetes

Study Armgroups:
- {'label': 'Community-based lifestyle intervention', 'type': 'EXPERIMENTAL', 'description': 'Participants will attend 7 community-based group intervention sessions plus 2 individual face-to-face dietician consultation sessions during the first 6 months, followed by a 6-month maintenance phase which they will receive monthly phone support from the research team.', 'interventionNames': ['Behavioral: group-based lifestyle intervention']}
- {'label': 'Minimal intervention (SMS intervention)', 'type': 'OTHER', 'description': 'Participants will receive one SMS per month during the first 6 months, followed by a 6-month maintenance phase which participants will receive one SMS every 2 months.', 'interventionNames': ['Behavioral: Minimal intervention (SMS intervention)']}

Interventions:
- {'type': 'BEHAVIORAL', 'name': 'group-based lifestyle intervention', 'description': 'Involve education about pre-diabetes self-management, weight loss, behavioural modification skills, nutrition and physical activity.', 'armGroupLabels': ['Community-based lifestyle intervention'], 'otherNames': ['individual dietitian consultation', 'Telephone support', 'community-based intervention']}
- {'type': 'BEHAVIORAL', 'name': 'Minimal intervention (SMS intervention)', 'description': 'Text message related to general information about T2DM, pre-diabetes, and lifestyle modification.', 'armGroupLabels': ['Minimal intervention (SMS intervention)']}

Primary Outcomes:
- {'measure': 'Percent weight change', 'description': '% weight change from baseline', 'timeFrame': '% weight change from baseline at 6-month and 12-months'}

Please estimate the sample size based on the assumption: 
80% power, 5% significance level, 35% dropout rate.
Sample size
        The estimated minimum required sample size was based on the primary outcome: the proportion of participants achieving 5%âweight loss between the baseline assessment and 12 months. Previous lifestyle intervention trials have reported that around 50% of participants had lost at least 5% of their baseline body weight at 12 months.16 We predicted that weight loss in the control group (receiving minimal intervention) would be half of that in the intervention group; that is, 25% of participants in the control group may lose at least 5% of their baseline body weight at 12 months. To detect this difference in the proportion of participants achieving 5%âweight loss between the intervention and control groups, 58 participants were required in each group, to ensure 80% power at a 5% significance level. To accommodate a 35% dropout rate,14 we therefore needed to recruit 90 participants in each intervention group (180 in total). This was based on a conservative estimate: if fewer than 25% of participants in the control group achieve 5%âweight loss, the required sample size will be less than 180.