<commit_before>// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:async';

import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:pedantic/pedantic.dart';
import 'package:vm_service/vm_service.dart' hide SentinelException;

import '../../eval_on_dart_library.dart';
import '../../globals.dart';
import '../../utils.dart';
import '../provider_debounce.dart';
import 'eval.dart';
import 'instance_details.dart';
import 'result.dart';

Future<InstanceRef> _resolveInstanceRefForPath(
  InstancePath path, {<commit_msg>Use fake freeze_annotation instead of 3rd party package. (#2975)<commit_after>// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:async';

import 'package:flutter_riverpod/flutter_riverpod.dart';
// TODO(terry): Disable package.
//import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:pedantic/pedantic.dart';
import 'package:vm_service/vm_service.dart' hide SentinelException;

import '../../eval_on_dart_library.dart';
import '../../globals.dart';
import '../../utils.dart';
import '../provider_debounce.dart';
import 'eval.dart';
// TODO(terry): Used fake interface until 3rd party freezed_annotation fixed.
import 'fake_freezed_annotation.dart';
import 'instance_details.dart';
import 'result.dart';

Future<InstanceRef> _resolveInstanceRefForPath(
  InstancePath path, {
{'fraction_non_alphanumeric': 0.12871888281724347, 'fraction_numerical': 0.008500303582270795, 'mean_word_length': 5.362934362934363, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1796082', 'n_tokens_mistral': 520, 'n_tokens_neox': 505, 'n_words': 138}