Skip to content

Commit 4fc7db1

Browse files
KeHang-Zhuvivtsai
authored andcommitted
Clean up unused code in chip negotiation logic
1 parent 0ac1b5c commit 4fc7db1

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

frontend/src/components/stages/chip_participant_view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ export class ChipView extends MobxLitElement {
777777
const assistance = this.answer?.currentAssistance;
778778
if (!assistance || !assistance.type) {
779779
// Assistance not yet available or malformed
780-
return html` <div></div> `;
780+
return nothing;
781781
}
782782

783783
const message = this.answer?.currentAssistance?.message ?? '';

frontend/src/shared/templates/chip_negotiation.ts

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -979,49 +979,6 @@ const CHIP_PRE_SURVEY_STAGE1 = createSurveyStage({
979979
}),
980980
],
981981
});
982-
// const CHIP_PRE_SURVEY_STAGE2 = createSurveyStage({
983-
// id: 'pre_survey_2',
984-
// name: 'Pre-game survey 2',
985-
// descriptions: createStageTextConfig({
986-
// primaryText:
987-
// 'This section asks about your expectations about the different AI tools available to you in the game. As a reminder, you’ll have access to three types of AI tools (a coach, delegate, and advisor) over three games, all powered by Google Gemini 2.5 (a large language model) and built on the same underlying capabilities.\nPlease indicate how much you agree or disagree with the following statements based on your expectations.',
988-
// }),
989-
// questions: [
990-
// // Perspectives on AI tooling
991-
// createScaleSurveyQuestion({
992-
// questionTitle:
993-
// 'I believe that having access to the AI tools will improve my performance in this game.',
994-
// lowerText: 'Strongly disagree',
995-
// lowerValue: 1,
996-
// upperText: 'Strongly agree',
997-
// upperValue: 5,
998-
// }),
999-
// createScaleSurveyQuestion({
1000-
// questionTitle:
1001-
// 'I believe that the AI tools will provide information I can trust.',
1002-
// lowerText: 'Strongly disagree',
1003-
// lowerValue: 1,
1004-
// upperText: 'Strongly agree',
1005-
// upperValue: 5,
1006-
// }),
1007-
// createScaleSurveyQuestion({
1008-
// questionTitle:
1009-
// 'I believe that the AI tools will help me see options or strategies I might otherwise miss.',
1010-
// lowerText: 'Strongly disagree',
1011-
// lowerValue: 1,
1012-
// upperText: 'Strongly agree',
1013-
// upperValue: 5,
1014-
// }),
1015-
// createScaleSurveyQuestion({
1016-
// questionTitle:
1017-
// 'I believe that the AI tools will help lighten the mental workload of playing this game.',
1018-
// lowerText: 'Strongly disagree',
1019-
// lowerValue: 1,
1020-
// upperText: 'Strongly agree',
1021-
// upperValue: 5,
1022-
// }),
1023-
// ],
1024-
// });
1025982

1026983
// ****************************************************************************
1027984
// Post-negotiation survey stage

0 commit comments

Comments
 (0)