DEV Community

Sora Terui
Sora Terui

Posted on Edited on

How We Set Our Shared Living Rules for Two with AI and an Apps Script Questionnaire: 3 Tips

TL;DR

My partner and I answered a questionnaire I built with Apps Script, each on our own. Then we talked it through with an AI acting as facilitator, and we settled the rules for living together (shared costs, chores, and so on) smoothly.

This post has three parts:

  • 1. Designing the questionnaire: I researched how to improve the quality of the questions and applied it to a 29-question form.
  • 2. Building it with Apps Script: I made the Google Form with code. The AI ran it in the browser.
  • 3. Making the AI the facilitator: it lines up matches and differences, and we talk through one item at a time. We make the decisions.

The overall flow

I decided on this flow in the following order:

  1. My research suggested that how a couple decides matters more than finding the "right" split [1][2].
  2. When two people talk face to face, answers drift toward what the other person seems to want. So we answer separately first.
  3. Once we have separate answers, matches and differences are visible. So we lock in the matches and discuss only the differences.
  4. I gave the lining-up work to the AI, and kept the decisions with the two of us.

The flow we ended up with:

Flow of the discussion: build a questionnaire, both answer separately, the AI lines up matches and differences, matches are settled and differences are discussed one item at a time

  1. List the topics: living costs, utilities, chores, how we will discuss things.
  2. Agree on principles first: what does "fair" mean to us? Once that matches, the details get easier.
  3. Answer the same questions separately: a multiple-choice questionnaire.
  4. Line up matches and differences: matches are settled; for differences, the AI proposes compromises and we talk.
  5. Write the result on one page.

I used Claude as the mediator (facilitator). It researched, drafted the questionnaire, and lined up the answers to show where we differ. The decisions are ours.

1. Designing the questionnaire

Why answer separately first?

When two people talk it through live, answers drift toward whatever the other person seems to want. Awkward topics get postponed.

Here is what I found:

  • In a Japanese survey of 552 people aged 22 to 39 with cohabitation experience (an online survey run by a budgeting-app company, so it cannot show causation), 53.0% split living costs 50:50 and 36.0% split them in proportion to income [1].
  • Coverage of the same survey suggested that how a couple decided (talking it through together) mattered for satisfaction more than the split itself [1].
  • A US study of about 10,000 online responses found that perceived fairness about shared expenses predicted relationship quality better than perceived fairness about housework. Feeling that you are the one being treated unfairly mattered more than feeling that your partner is [2].

My reading (an interpretation, not a finding): rather than hunting for the "right" split, it is better to design a process both people feel good about.

Research to improve the questions

The quality of the answers depends on the quality of the questions. Here is what I changed after reading up.

One question, one topic

A question that asks about two things at once (a double-barreled question) confuses respondents and lowers the quality of results. The fix is to identify the constructs and split them into separate questions [3][4].

What I changed: I split "who pays for shopping" and "do we consult before buying" into two questions.

Don't lead the respondent

Wording and built-in assumptions can steer answers [5][6].

What I changed: the intro to the questionnaire states only facts. Even so, framing can favor one side, so I kept that in mind and left alternative options selectable.

Lower the effort required (avoid satisficing)

When a task is hard, or the respondent is less able or less motivated, people take shortcuts: they pick a plausible answer or pick at random. This is called satisficing [3].

This is exactly what happened with the chores section. My first version was a 12-by-6 grid asking "who does it?" plus a second grid for frequency. It was tiring to answer. I found a simpler method: sort chores into "good at it", "don't mind", and "really don't want to" [7][8]. So I changed the question to feelings (love it / don't mind / not good at it / really don't want to). Assignments come after we compare answers.

Pilot it on yourself first

Guides recommend piloting a questionnaire on a few people before the real thing [5][6].

What I did: I answered all 29 questions myself first. That alone surfaced six fixes: missing options, questions that should allow multiple answers, and one that did not say what discussion it was for.

Chores: splitting is not the only answer

  • In a US survey, couples who fully divided chores were not necessarily happier than conventional couples; relationship quality tended to rise the more tasks were shared (correlational) [9].
  • The Fair Play card method makes the card holder responsible for conception, planning and execution of a task, and has the couple agree on a minimum standard for each [10].

What I changed: I made "chores that are easier together" and "chores we want to automate or outsource" separate questions, and added one asking for a minimum standard ("what must always be done").

2. Building the Google Form with Apps Script

There are 29 questions. Building them by hand would take a while, so I generated the form with code.

How it works

Apps Script is JavaScript that controls Google services. Forms are handled through FormApp.

function createForm() {
  var form = FormApp.create("Living rules questionnaire");

  // helper: create a multiple-choice question
  function mc(title, choices, other) {
    var it = form.addMultipleChoiceItem().setTitle(title);
    it.setChoiceValues(choices);
    if (other) it.showOtherOption(true);   // show an "Other" option
    return it;
  }

  form.addPageBreakItem().setTitle("A. Overall approach");
  mc("Q1 What matters most when we set rules?", ["Numbers I can explain", "Simple enough to keep"], true);

  // a grid (rows x columns) for chores
  form.addGridItem().setTitle("Q14 How do you feel about each chore?")
    .setRows(["Cooking", "Dishes", "Laundry"])
    .setColumns(["Good at / want it", "Don't mind", "Not good at it", "Really don't want it"]);

  Logger.log(form.getPublishedUrl());      // the link I send to my partner
}
Enter fullscreen mode Exit fullscreen mode

What I used

  • FormApp.create creates the form. addMultipleChoiceItem (radio), addCheckboxItem (multi-select), addGridItem (table), and addPageBreakItem (sections) add questions.
  • To change questions later: open with openById, then setRows, setColumns, deleteItem and moveItem.
  • To build my own answers: createResponse, then withItemResponse. toPrefilledUrl() gives a pre-filled link, and submit() sends it [11].
  • To clean up responses: getResponses and deleteResponse.

How I ran it

The AI drove Chrome: it opened the Apps Script editor, pasted the code, picked the function, and clicked Run, then read the execution log from the screen. No API was involved. I clicked the Google permission prompt myself.

3. Making the AI the facilitator

Division of roles

Step What the AI did What I did
Research Searched, summarized, logged sources Decided direction
Questionnaire design Drafted 29 questions and options Picked options, asked for changes
Code Wrote the Apps Script Approved permissions
Running it Drove the browser to run it Approved sending and deleting
Discussion Lined up matches and differences, set the order, proposed compromises, recorded what we decided Gave reasons, chose, decided

What the AI did in the discussion

  1. Lined up our answers and split them into matches and differences.
  2. Put the differences in the order we would discuss them.
  3. For each item, summarized both answers and reasons, and proposed two or three compromises.
  4. Recorded what we decided, on the spot.

The decisions are ours. The AI does not lean toward either option.

How it went in practice

We each answered the questionnaire separately. Then we shared a screen, confirmed the answers that matched, and discussed the differences one item at a time.

  • We fixed the order and format up front: each person gives their reasons for a minute, we look for common ground, we line up options, then we choose.
  • Even where our views differed, putting the numbers side by side showed that some items landed close together.
  • Where we realized exactness was not needed, we dropped the tracking effort.
  • By the end of the session almost every item had a conclusion.

What went wrong

  • Answers looked selected on screen, but were not in the submitted response. The AI clicked the options with a script. The page showed them as selected, yet several questions were empty in the saved response. The cause: I had verified only what the screen showed. The fix: submit the response directly from code, then re-read the saved response to confirm.
  • Editing questions left empty columns in the response sheet. When the form changed, old columns stayed behind and the sheet looked like it was missing data. I stopped using the sheet and used the form's own response view.

Things to watch out for

  • Consent: both the questionnaire and this post assume your partner is on board.
  • Avoid leading: keep the intro factual. Since the AI is on the organizing side, check its framing for bias.
  • Bias in the sources: the Japanese survey is an app company's online poll, and the academic work is mostly from the US. None of it shows causation.

One last thing

Customs and rules around sharing costs and chores differ from country to country, and I am curious how it works where you live. If you have a way you and your partner decide these things, please tell me in the comments. And if this was useful, a like (❤️) would mean a lot.

References

[1] SmartBank ("One Bank") survey on how cohabiting couples split living costs (May 2026; 552 people who have lived together). Coverage: https://prtimes.jp/main/html/rd/p/000000109.000080496.html , https://news.livedoor.com/article/detail/31909351/ , https://financial-field.com/household/entry-512584

[2] Gillespie, B. J., Peterson, J., & Lever, J. (2019). Gendered perceptions of fairness in housework and shared expenses: Implications for relationship satisfaction and sex frequency. PLoS ONE, 14(3), e0214204. https://pmc.ncbi.nlm.nih.gov/articles/PMC6426245

[3] Krosnick, J. A., & Presser, S. (2010). Question and questionnaire design. In Handbook of Survey Research (2nd ed.). https://web.stanford.edu/dept/communication/faculty/krosnick/docs/2010/2010%20Handbook%20of%20Survey%20Research.pdf

[4] "Double-barreled question," Encyclopedia of Survey Research Methods (SAGE): https://sk.sagepub.com/ency/edvol/embed/survey/chpt/doublebarreled-question ; Kantar: https://www.kantar.com/inspiration/research-services/double-barrelled-questions-pf

[5] Qualtrics, "Basics of questionnaire design" (Japanese): https://www.qualtrics.com/ja/articles/strategy-research/questionnaire-building

[6] Stanford Biodesign, "Good and Bad Survey Questions": https://biodesignguide.stanford.edu/wp-content/uploads/2021/07/Good-and-Bad-Survey-Questions.pdf

[7] chintai.net (Japanese), on dividing chores when living together: https://www.chintai.net/news/32252/ , https://www.chintai.net/news/48912/

[8] Zexy (Japanese), on how to decide who does which chore: https://zexy.net/article/app002210031/

[9] Carlson, D. L. (University of Utah), on dividing vs. sharing chores (press coverage): https://csbs.utah.edu/news/chore-lists.php , https://time.com/6168794/sharing-chores-can-improve-relationships-study . The original paper has not been checked. Related paper (about housework division and communication): Carlson, D. L., Miller, A. J., & Rudd, S. (2020). Division of housework, communication, and couples' relationship satisfaction. Socius, 6. https://doi.org/10.1177/2378023120924805

[10] Rodsky, E. (2019). Fair Play. G. P. Putnam's Sons. Explainers: https://heynori.com/article/family-operations-system/how-to-use-fair-play-cards , https://coda.io/@sj-crawford/fair-play

[11] Google Apps Script reference, "Class FormResponse": https://developers.google.com/apps-script/reference/forms/form-response

Japanese version on Zenn: https://zenn.dev/uzunaru/articles/f43f45d4f9a29b

Top comments (0)