id
stringlengths
11
41
messages
listlengths
3
3
metadata
unknown
source
unknown
split
stringclasses
1 value
split_origin
stringclasses
4 values
task_type
stringclasses
7 values
synth_refactor_3104_0211
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/widgets/scroll_view/list_view.0.dart' as example;\n...
{ "accepted_by": "synthetic_generation", "code_len": 2224, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_3001_3200_eng.csv", "original_row": "104", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3314_0212
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:js_interop';\ndouble get performanceTimestamp => 1000 * _performance.now();\n@JS()\n@staticInterop\nclass _DomPerfo...
{ "accepted_by": "synthetic_generation", "code_len": 286, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question" ], "merged_at": "2026-07-11", "merged_from":...
{ "derived_from": "flutter_code_with_questions_3201_3400_eng.csv", "original_row": "114", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_852_0213
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport '../../gallery/demo.dart';\nclass ElevationDemo extends StatefulWidget {\n cons...
{ "accepted_by": "synthetic_generation", "code_len": 1495, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_801_1000_eng.csv", "original_row": "52", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2740_0214
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/material/dialog/show_dialog.1.dart' as example;\nim...
{ "accepted_by": "synthetic_generation", "code_len": 710, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2601_2800_eng.csv", "original_row": "140", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2980_0215
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:async';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/widgets/async/stream_builder....
{ "accepted_by": "synthetic_generation", "code_len": 3091, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "180", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1347_0216
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:convert' show json;\nimport 'dart:io';\nimport 'localizations_utils.dart';\nconst List<String> kPluralSuffixes = <S...
{ "accepted_by": "synthetic_generation", "code_len": 6042, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question" ], "merged_at": "2026-07-11", "merged_from"...
{ "derived_from": "flutter_code_with_questions_1201_1400_eng.csv", "original_row": "147", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_771_0217
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:convert';\nimport 'package:android_driver_extensions/native_driver.dart';\nimport 'package:android_driver_extension...
{ "accepted_by": "synthetic_generation", "code_len": 1419, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_601_800_eng.csv", "original_row": "171", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2988_0218
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/widgets/basic/aspect_ratio.1.dart' as example;\nimp...
{ "accepted_by": "synthetic_generation", "code_len": 682, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "188", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_249_0219
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport '../common.dart';\nimport 'bui...
{ "accepted_by": "synthetic_generation", "code_len": 530, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_201_400_eng.csv", "original_row": "49", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3888_0220
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'framework.dart';\nclass Preview {\n const Preview();\n}\nclass WidgetPreview {\n const WidgetPreview({\n ...
{ "accepted_by": "synthetic_generation", "code_len": 347, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question" ], "merged_at": "2026-07-11", "merged_from":...
{ "derived_from": "flutter_code_with_questions_3801_4000_eng.csv", "original_row": "88", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3985_0221
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:io';\nimport 'dart:isolate';\nimport 'package:file/file.dart';\nimport 'package:file/local.dart';\nimport 'package:...
{ "accepted_by": "synthetic_generation", "code_len": 5311, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3801_4000_eng.csv", "original_row": "185", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2733_0222
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/material/date_picker/show_date_picker.1.dart' as ex...
{ "accepted_by": "synthetic_generation", "code_len": 1203, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2601_2800_eng.csv", "original_row": "133", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2128_0223
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/gestures.dart';\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const PointerSignalResol...
{ "accepted_by": "synthetic_generation", "code_len": 3253, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2001_2200_eng.csv", "original_row": "128", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_133_0224
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:math' as math;\nimport 'dart:typed_data';\nimport 'package:flutter/widgets.dart';\nimport 'recorder.dart';\nconst L...
{ "accepted_by": "synthetic_generation", "code_len": 3548, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_1_200_eng.csv", "original_row": "133", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1069_0225
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport '../../gallery_localizations.dart';\nimport 'formatters.dart';\ndouble sumAccoun...
{ "accepted_by": "synthetic_generation", "code_len": 9542, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_1001_1200_eng.csv", "original_row": "69", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_657_0226
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_devicelab/framework/devices.dart';\nimport 'package:flutter_devicelab/framework/framework.dart';\nimport...
{ "accepted_by": "synthetic_generation", "code_len": 307, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_601_800_eng.csv", "original_row": "57", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2447_0227
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const ClipRRectApp());\nclass ClipRRectApp extends StatelessWidge...
{ "accepted_by": "synthetic_generation", "code_len": 1898, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "47", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_214_0228
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_driver/flutter_driver.dart';\nimport 'package:macrobenchmarks/common.dart';\nimport 'util.dart';\nvoid m...
{ "accepted_by": "synthetic_generation", "code_len": 784, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_201_400_eng.csv", "original_row": "14", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3933_0229
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/cupertino.dart';\nimport 'package:flutter_test/flutter_test.dart';\nvoid main() {\n testWidgets('test i...
{ "accepted_by": "synthetic_generation", "code_len": 19128, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_cupert...
{ "derived_from": "flutter_code_with_questions_3801_4000_eng.csv", "original_row": "133", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2451_0230
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const ExpandedApp());\nclass ExpandedApp extends StatelessWidget ...
{ "accepted_by": "synthetic_generation", "code_len": 838, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "51", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_107_0231
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:math';\nimport 'package:flutter/material.dart';\nclass CubicBezierPage extends StatelessWidget {\n const CubicBezi...
{ "accepted_by": "synthetic_generation", "code_len": 9584, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_1_200_eng.csv", "original_row": "107", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2744_0232
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/material/divider/vertical_divider.0.dart' as exampl...
{ "accepted_by": "synthetic_generation", "code_len": 682, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2601_2800_eng.csv", "original_row": "144", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_82_0233
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter/scheduler.dart' show timeDilation;\nenum ScrollMode { complex, ...
{ "accepted_by": "synthetic_generation", "code_len": 21582, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materi...
{ "derived_from": "flutter_code_with_questions_1_200_eng.csv", "original_row": "82", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_752_0234
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:convert';\nimport 'package:android_driver_extensions/extension.dart';\nimport 'package:flutter/foundation.dart';\ni...
{ "accepted_by": "synthetic_generation", "code_len": 3219, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_601_800_eng.csv", "original_row": "152", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_594_0235
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_devicelab/framework/devices.dart';\nimport 'package:flutter_devicelab/framework/framework.dart';\nimport...
{ "accepted_by": "synthetic_generation", "code_len": 824, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_401_600_eng.csv", "original_row": "194", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_4373_0236
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:ui';\nimport 'package:flutter/scheduler.dart';\nimport 'package:flutter/widgets.dart';\nimport 'package:flutter_tes...
{ "accepted_by": "synthetic_generation", "code_len": 2546, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_4201_4400_eng.csv", "original_row": "173", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_46_0237
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:a11y_assessments/use_cases/switch_list_tile.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flu...
{ "accepted_by": "synthetic_generation", "code_len": 696, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_1_200_eng.csv", "original_row": "46", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2369_0238
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() {\n runApp(const ToggleButtonsApp());\n}\nclass ToggleButtonsApp extends S...
{ "accepted_by": "synthetic_generation", "code_len": 2591, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2201_2400_eng.csv", "original_row": "169", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3461_0239
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'dart:ui' show lerpDouble;\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter/rendering.dart';...
{ "accepted_by": "synthetic_generation", "code_len": 9985, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3401_3600_eng.csv", "original_row": "61", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_706_0240
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:async';\nimport 'dart:convert';\nimport 'dart:io';\nimport 'package:path/path.dart' as path;\nimport '../framework/...
{ "accepted_by": "synthetic_generation", "code_len": 5390, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_601_800_eng.csv", "original_row": "106", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_428_0241
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:async';\nimport 'package:flutter_devicelab/framework/devices.dart';\nimport 'package:flutter_devicelab/framework/fr...
{ "accepted_by": "synthetic_generation", "code_len": 379, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_401_600_eng.csv", "original_row": "28", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3728_0242
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:js_interop';\nimport 'dart:ui_web' as ui_web;\nimport 'package:flutter/rendering.dart';\nimport '../web.dart' as we...
{ "accepted_by": "synthetic_generation", "code_len": 3882, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3601_3800_eng.csv", "original_row": "128", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2508_0243
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const TransformationControllerExampleApp());\nclass Transformatio...
{ "accepted_by": "synthetic_generation", "code_len": 3236, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "108", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3927_0244
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/cupertino.dart';\nimport 'package:flutter_test/flutter_test.dart';\nvoid main() {\n testWidgets('shows ...
{ "accepted_by": "synthetic_generation", "code_len": 15776, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_cupert...
{ "derived_from": "flutter_code_with_questions_3801_4000_eng.csv", "original_row": "127", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3347_0245
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/foundation.dart';\nbool debugPrintHitTestResults = false;\nbool debugPrintMouseHoverEvents = f...
{ "accepted_by": "synthetic_generation", "code_len": 583, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_3201_3400_eng.csv", "original_row": "147", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_641_0246
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_devicelab/framework/framework.dart';\nimport 'package:flutter_devicelab/tasks/plugin_tests.dart';\nFutur...
{ "accepted_by": "synthetic_generation", "code_len": 452, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_601_800_eng.csv", "original_row": "41", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_4380_0247
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/semantics.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:leak_tracker_flutter...
{ "accepted_by": "synthetic_generation", "code_len": 3685, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_4201_4400_eng.csv", "original_row": "180", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3694_0248
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:convert';\nimport 'dart:typed_data';\nimport 'package:flutter/foundation.dart' show ReadBuffer, WriteBuffer;\nimpor...
{ "accepted_by": "synthetic_generation", "code_len": 12343, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": ...
{ "derived_from": "flutter_code_with_questions_3601_3800_eng.csv", "original_row": "94", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_782_0249
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:convert';\nimport 'package:meta/meta.dart';\nimport 'constants.dart';\nclass AndroidSemanticsNode {\n AndroidSeman...
{ "accepted_by": "synthetic_generation", "code_len": 3122, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question" ], "merged_at": "2026-07-11", "merged_from"...
{ "derived_from": "flutter_code_with_questions_601_800_eng.csv", "original_row": "182", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2800_0250
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/material/material_state/material_state_outlined_bor...
{ "accepted_by": "synthetic_generation", "code_len": 1344, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2601_2800_eng.csv", "original_row": "200", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1125_0251
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:gallery/themes/materi...
{ "accepted_by": "synthetic_generation", "code_len": 901, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_1001_1200_eng.csv", "original_row": "125", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_520_0252
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_devicelab/framework/devices.dart';\nimport 'package:flutter_devicelab/framework/framework.dart';\nimport...
{ "accepted_by": "synthetic_generation", "code_len": 313, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_401_600_eng.csv", "original_row": "120", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2332_0253
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const SelectionAreaSel...
{ "accepted_by": "synthetic_generation", "code_len": 4264, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2201_2400_eng.csv", "original_row": "132", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2335_0254
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const SelectionContainerDisabledExampleApp());\nclass SelectionCo...
{ "accepted_by": "synthetic_generation", "code_len": 835, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2201_2400_eng.csv", "original_row": "135", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_4132_0255
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_test/flutter_test.dart';\nvoid main() {\n test('MaterialStateP...
{ "accepted_by": "synthetic_generation", "code_len": 3809, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_4001_4200_eng.csv", "original_row": "132", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2651_0256
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/cupertino.dart';\nimport 'package:flutter_api_samples/cupertino/route/show_cupertino_dialog.0.dart' as e...
{ "accepted_by": "synthetic_generation", "code_len": 687, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_cupertin...
{ "derived_from": "flutter_code_with_questions_2601_2800_eng.csv", "original_row": "51", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3235_0257
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:texture/main.dart' as texture;\nvoid main() {\n testWidgets('...
{ "accepted_by": "synthetic_generation", "code_len": 283, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_3201_3400_eng.csv", "original_row": "35", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3494_0258
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'dart:ui' show lerpDouble;\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter/rendering.dart';...
{ "accepted_by": "synthetic_generation", "code_len": 5888, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3401_3600_eng.csv", "original_row": "94", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2944_0259
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/ui/text/font_feature.font_feature_contextual_altern...
{ "accepted_by": "synthetic_generation", "code_len": 706, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "144", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3878_0260
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/animation.dart';\nimport 'framework.dart';\nimport 'implicit_animations.dart';\nimport 'value_...
{ "accepted_by": "synthetic_generation", "code_len": 1668, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3801_4000_eng.csv", "original_row": "78", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_956_0261
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const MyApp());\nclass MyApp extends StatelessWidget {\n const M...
{ "accepted_by": "synthetic_generation", "code_len": 1357, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_801_1000_eng.csv", "original_row": "156", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3996_0262
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter_test/flutter_test.dart';\nvoid main() {\n test('Parses line'...
{ "accepted_by": "synthetic_generation", "code_len": 31839, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": ...
{ "derived_from": "flutter_code_with_questions_3801_4000_eng.csv", "original_row": "196", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_4318_0263
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:ui' as ui;\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter/rendering.dart';\nimport 'package:fl...
{ "accepted_by": "synthetic_generation", "code_len": 1512, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_4201_4400_eng.csv", "original_row": "118", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_65_0264
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter_test/flutter_test.dart';\nclass TestTestBinding extends Autom...
{ "accepted_by": "synthetic_generation", "code_len": 610, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_1_200_eng.csv", "original_row": "65", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_958_0265
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_driver/flutter_driver.dart';\nimport 'package:test/test.dart' hide TypeMatcher, isInstanceOf;\nvoid main...
{ "accepted_by": "synthetic_generation", "code_len": 1976, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_801_1000_eng.csv", "original_row": "158", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3431_0266
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/foundation.dart';\nimport 'material_localizations.dart';\nabstract final class DateUtils {\n ...
{ "accepted_by": "synthetic_generation", "code_len": 2491, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3401_3600_eng.csv", "original_row": "31", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2534_0267
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const PageApiExampleApp());\nclass PageApiExampleApp extends Stat...
{ "accepted_by": "synthetic_generation", "code_len": 3935, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "134", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3183_0268
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/rendering.dart';\nimport 'src/binding.dart';\nimport 'src/solid_color_box.dart';\nvoid main() {\n final...
{ "accepted_by": "synthetic_generation", "code_len": 3859, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3001_3200_eng.csv", "original_row": "183", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1143_0269
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_driver/driver_extension.dart';\nvoid main() {\n enableFlutterD...
{ "accepted_by": "synthetic_generation", "code_len": 302, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_1001_1200_eng.csv", "original_row": "143", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1216_0270
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_driver/flutter_driver.dart';\nimport 'package:test/test.dart' hide TypeMatcher, isInstanceOf;\nvoid main...
{ "accepted_by": "synthetic_generation", "code_len": 1097, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_1201_1400_eng.csv", "original_row": "16", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2641_0271
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/cupertino.dart';\nimport 'package:flutter_api_samples/cupertino/nav_bar/cupertino_navigation_bar.0.dart'...
{ "accepted_by": "synthetic_generation", "code_len": 688, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_cupertin...
{ "derived_from": "flutter_code_with_questions_2601_2800_eng.csv", "original_row": "41", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_592_0272
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_devicelab/framework/devices.dart';\nimport 'package:flutter_devicelab/framework/framework.dart';\nimport...
{ "accepted_by": "synthetic_generation", "code_len": 343, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_401_600_eng.csv", "original_row": "192", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_235_0273
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/foundation.dart';\nimport '../common.dart';\nconst int _kNumIterations = 10000;\nFuture<void> execute() ...
{ "accepted_by": "synthetic_generation", "code_len": 1320, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_201_400_eng.csv", "original_row": "35", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3349_0274
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/foundation.dart';\nimport 'velocity_tracker.dart';\nexport 'dart:ui' show Offset, PointerDevic...
{ "accepted_by": "synthetic_generation", "code_len": 2539, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3201_3400_eng.csv", "original_row": "149", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2573_0275
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nvoid main() => runApp(const ShortcutsExampleAp...
{ "accepted_by": "synthetic_generation", "code_len": 2574, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "173", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2978_0276
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_api_samples/widgets/app_lifecycle_listener/app_lifecycle_listener.1.dart'\n as example;\nimport 'pack...
{ "accepted_by": "synthetic_generation", "code_len": 692, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "178", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3649_0277
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/foundation.dart';\nimport 'box.dart';\nimport 'sliver.dart';\nimport 'sliver_multi_box_adaptor...
{ "accepted_by": "synthetic_generation", "code_len": 8234, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3601_3800_eng.csv", "original_row": "49", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3517_0278
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/services.dart';\nimport 'package:flutter/widgets.dart';\nimport 'app_bar.dart';\nimport 'app_b...
{ "accepted_by": "synthetic_generation", "code_len": 10511, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": ...
{ "derived_from": "flutter_code_with_questions_3401_3600_eng.csv", "original_row": "117", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_4017_0279
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/gestures.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'gesture_tester.dart';\nvoid m...
{ "accepted_by": "synthetic_generation", "code_len": 4432, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_4001_4200_eng.csv", "original_row": "17", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2587_0280
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const TreeSliverExampleApp());\nclass TreeSliverExampleApp extend...
{ "accepted_by": "synthetic_generation", "code_len": 2610, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "187", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2815_0281
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/material/navigation_rail/navigation_rail.extended_a...
{ "accepted_by": "synthetic_generation", "code_len": 2210, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "15", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_927_0282
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_gallery/demo/material/menu_demo.dart';\nimport 'package:flutter...
{ "accepted_by": "synthetic_generation", "code_len": 1652, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_801_1000_eng.csv", "original_row": "127", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3525_0283
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/painting.dart';\nconst Map<int, List<BoxShadow>> kElevationToShadow =\n _elevationToShadow;...
{ "accepted_by": "synthetic_generation", "code_len": 4248, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_3401_3600_eng.csv", "original_row": "125", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2557_0284
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const ScrollMetricsDemo());\nclass ScrollMetricsDemo extends Stat...
{ "accepted_by": "synthetic_generation", "code_len": 1379, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "157", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2315_0285
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const ShowSnackBarExampleApp());\nclass ShowSnackBarExampleApp ex...
{ "accepted_by": "synthetic_generation", "code_len": 839, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2201_2400_eng.csv", "original_row": "115", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3991_0286
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\n@TestOn('chrome')\nlibrary;\nimport 'dart:ui_web' as ui_web;\nimport 'package:flutter/foundation.dart' show TargetPlatform, defa...
{ "accepted_by": "synthetic_generation", "code_len": 771, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_3801_4000_eng.csv", "original_row": "191", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_417_0287
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:io';\nimport 'package:file/local.dart';\nimport 'package:flutter_devicelab/framework/dependency_smoke_test_task_def...
{ "accepted_by": "synthetic_generation", "code_len": 1308, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_401_600_eng.csv", "original_row": "17", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2879_0288
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/material/slider/slider.0.dart' as example;\nimport ...
{ "accepted_by": "synthetic_generation", "code_len": 1652, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "79", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2206_0289
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const DropdownButtonApp());\nclass DropdownButtonApp extends Stat...
{ "accepted_by": "synthetic_generation", "code_len": 1666, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2201_2400_eng.csv", "original_row": "6", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2843_0290
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/gestures.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/material/r...
{ "accepted_by": "synthetic_generation", "code_len": 972, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "43", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_109_0291
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:ui' as ui;\nimport 'package:flutter/material.dart';\nFuture<ui.Image> loadImage(String asset) async {\n final ui.I...
{ "accepted_by": "synthetic_generation", "code_len": 3516, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_1_200_eng.csv", "original_row": "109", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1061_0292
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport '../../data/gallery_options.dart';\nimport '../../gallery_localizations.dart';\n...
{ "accepted_by": "synthetic_generation", "code_len": 5163, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_1001_1200_eng.csv", "original_row": "61", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2112_0293
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/cupertino.dart';\nvoid main() => runApp(const ModalPopupApp());\nclass ModalPopupApp extends StatelessWi...
{ "accepted_by": "synthetic_generation", "code_len": 1650, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_cuperti...
{ "derived_from": "flutter_code_with_questions_2001_2200_eng.csv", "original_row": "112", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2484_0295
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter/material.dart';\nvoid main() {\n ErrorWidget.builder = (Flut...
{ "accepted_by": "synthetic_generation", "code_len": 1688, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "84", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1129_0296
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:async';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_driver/driver_extension.dart';\nimport 's...
{ "accepted_by": "synthetic_generation", "code_len": 1570, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_1001_1200_eng.csv", "original_row": "129", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_215_0297
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter_driver/flutter_driver.dart';\nimport 'package:macrobenchmarks/common.dart';\nimport 'util.dart';\nvoid m...
{ "accepted_by": "synthetic_generation", "code_len": 873, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_201_400_eng.csv", "original_row": "15", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1987_0298
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:convert';\nimport 'package:meta/meta.dart';\nimport '../typed_json.dart';\nimport 'target_platform.dart';\n@immutab...
{ "accepted_by": "synthetic_generation", "code_len": 1095, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question" ], "merged_at": "2026-07-11", "merged_from"...
{ "derived_from": "flutter_code_with_questions_1801_2000_eng.csv", "original_row": "187", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2442_0299
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nvoid main() => runApp(const AutofillGroupExampleApp());\nclass AutofillGroupExampleApp ...
{ "accepted_by": "synthetic_generation", "code_len": 3342, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "42", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1038_0300
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/cupertino.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nimpo...
{ "accepted_by": "synthetic_generation", "code_len": 22622, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materi...
{ "derived_from": "flutter_code_with_questions_1001_1200_eng.csv", "original_row": "38", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_29_0301
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:a11y_assessments/use_cases/app_bar.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'test_utils....
{ "accepted_by": "synthetic_generation", "code_len": 315, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_1_200_eng.csv", "original_row": "29", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3030_0302
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/widgets/gesture_detector/gesture_detector.2.dart' a...
{ "accepted_by": "synthetic_generation", "code_len": 3479, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_materia...
{ "derived_from": "flutter_code_with_questions_3001_3200_eng.csv", "original_row": "30", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3446_0303
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'dart:math' as math;\nimport 'package:flutter/rendering.dart';\nimport 'package:flutter/services.dart';\nimport...
{ "accepted_by": "synthetic_generation", "code_len": 34193, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": ...
{ "derived_from": "flutter_code_with_questions_3401_3600_eng.csv", "original_row": "46", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2956_0304
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/ui/text/font_feature.font_feature_scientific_inferi...
{ "accepted_by": "synthetic_generation", "code_len": 684, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_2801_3000_eng.csv", "original_row": "156", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_4394_0305
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/services.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport '../widgets/clipboard_utils.da...
{ "accepted_by": "synthetic_generation", "code_len": 1502, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "...
{ "derived_from": "flutter_code_with_questions_4201_4400_eng.csv", "original_row": "194", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_317_0306
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:io';\nimport 'package:path/path.dart' as path;\nimport '../utils.dart';\nFuture<void> androidPreviewIntegrationTool...
{ "accepted_by": "synthetic_generation", "code_len": 766, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question" ], "merged_at": "2026-07-11", "merged_from":...
{ "derived_from": "flutter_code_with_questions_201_400_eng.csv", "original_row": "117", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1104_0308
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/widgets.dart';\nimport '../../../gallery_localizations.dart';\nimport 'product.dart';\nclass ProductsRep...
{ "accepted_by": "synthetic_generation", "code_len": 10752, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": ...
{ "derived_from": "flutter_code_with_questions_1001_1200_eng.csv", "original_row": "104", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_2410_0309
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/widgets.dart';\nvoid main() => runApp(const ExampleApp());\nclass ExampleApp extends StatelessWidget {\n...
{ "accepted_by": "synthetic_generation", "code_len": 700, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": "2...
{ "derived_from": "flutter_code_with_questions_2401_2600_eng.csv", "original_row": "10", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3129_0310
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_api_samples/widgets/sliver/sliver_opacity.1.dart' as example;\n...
{ "accepted_by": "synthetic_generation", "code_len": 642, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code", "imports_material...
{ "derived_from": "flutter_code_with_questions_3001_3200_eng.csv", "original_row": "129", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_3548_0311
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nlibrary;\nimport 'package:flutter/foundation.dart';\nimport 'package:flutter/widgets.dart';\nimport 'theme.dart';\nimport 'typog...
{ "accepted_by": "synthetic_generation", "code_len": 18899, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question", "imports_flutter_code" ], "merged_at": ...
{ "derived_from": "flutter_code_with_questions_3401_3600_eng.csv", "original_row": "148", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor
synth_refactor_1612_0312
[ { "content": "You are a Flutter and Dart coding assistant.", "role": "system" }, { "content": "Refactor this Flutter code for better null safety and performance:\n```dart\nimport 'dart:js_interop';\nimport '../dom.dart';\nconst Set<int> _kNewlines = <int>{\n 0x000A,\n 0x000B,\n 0x000C,\n 0x000D,...
{ "accepted_by": "synthetic_generation", "code_len": 2937, "difficulty": "unknown", "final_v1_decision": "accept", "final_v1_split": "train", "heuristic_decision": "keep", "heuristic_reasons": [ "mentions_flutter_question", "mentions_dart_question" ], "merged_at": "2026-07-11", "merged_from"...
{ "derived_from": "flutter_code_with_questions_1601_1800_eng.csv", "original_row": "12", "status": "P2_synthetic", "synth_method": "template_refactor", "type": "synthetic" }
train
train
refactor