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:     }
    }
  
    Future<bool> _requiresUpdate(
        String packageName, String packageVersion) async {
      final List<PackageVersionAnalysis> list = await _db.lookup([
        _db.emptyKey
            .append(PackageAnalysis, id: packageName)
  
negative.code:         new DateTime.now().toUtc().difference(version.analysisTimestamp);
      if (diff.inDays >= afterDays) return true;
  
      if (retryFailed &&
          version.analysisStatus != AnalysisStatus.success &&
          diff.inDays >= 1) {
        return true;
      }
  
      return false;
    }
  }
  