anchor.diff:  import 'package:logging/logging.dart';
   
   import '../frontend/models.dart';
  +import '../shared/analyzer_service.dart' show AnalysisStatus;
   import '../shared/task_scheduler.dart';
   import '../shared/task_sources.dart';
   import '../shared/utils.dart';
  
positive.code:         new DateTime.now().toUtc().difference(version.analysisTimestamp);
      if (diff.inDays >= afterDays) return true;
  
      return false;
    }
  }
  
negative.code:         // Check and schedule the latest stable version of each package.
          final Query packageQuery = _db.query(Package)..order('-updated');
          await for (Package p in packageQuery.run()) {
            if (await _requiresUpdate(p.name, p.latestVersion,
                retryFailed: true)) {
              yield new Task(p.name, p.latestVersion, p.updated);
            }
  
  