Catalyst / admin/Bid-Sentinel 14.8 GB / 57.8 GB 40.0 GB free
Help Sign in

admin / Bid-Sentinel

public

Bid Scrape and Tracking Application with AI Capability

Code Issues Pull requests Pipelines Packages Security Insights Wiki Settings
Bid-Sentinel / bid-sentinel-v2 / backend / app / scraper / sample_data.py 3152 B · main
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
"""Demo/sample records used when the live portals are unreachable.

This keeps the dashboard populated for local evaluation without depending on
external network access. Remove or disable via the runner if not desired.
"""
from __future__ import annotations

from datetime import datetime, timedelta, timezone

from app.scraper.base import TenderRecord

_NOW = datetime.now(timezone.utc)


def sample_records() -> list[TenderRecord]:
    return [
        TenderRecord(
            url="https://www.find-tender.service.gov.uk/Notice/sample-mdr-001",
            reference="FTS-SAMPLE-MDR-001",
            title="Managed Detection and Response (MDR) Service for Central Government Department",
            source="Find a Tender",
            description=(
                "Provision of a 24x7 Managed Detection and Response service including "
                "SOC monitoring, threat hunting and incident response support. Suppliers "
                "must hold Cyber Essentials Plus and ISO 27001; SC clearance required."
            ),
            published_date=_NOW - timedelta(days=3),
            closing_date=_NOW + timedelta(days=25),
            value_amount=1_200_000.0,
            value_text="£1,200,000",
            currency="GBP",
            duration="36 months",
            buyer="Cabinet Office",
            matched_keyword="Managed Detection and Response",
        ),
        TenderRecord(
            url="https://www.contractsfinder.service.gov.uk/Notice/sample-soc-002",
            reference="CF-SAMPLE-SOC-002",
            title="24x7 SOC Monitoring and Security Operations Centre Managed Service",
            source="Contracts Finder",
            description=(
                "NHS Trust requires a Security Operations Centre (SOC) providing 24x7 "
                "monitoring, SIEM management and vulnerability management. Cyber Essentials "
                "and the Cyber Assessment Framework (CAF) apply."
            ),
            published_date=_NOW - timedelta(days=7),
            closing_date=_NOW + timedelta(days=14),
            value_amount=650_000.0,
            value_text="£650,000",
            currency="GBP",
            duration="2024-09-01 to 2027-08-31",
            buyer="NHS Shared Business Services",
            matched_keyword="Security Operations Centre",
        ),
        TenderRecord(
            url="https://www.contractsfinder.service.gov.uk/Notice/sample-ir-003",
            reference="CF-SAMPLE-IR-003",
            title="Cyber Incident Response Retainer and CTI Services",
            source="Contracts Finder",
            description=(
                "Local Authority seeks an Incident Response retainer with Cyber Threat "
                "Intelligence (CTI) feeds and vulnerability management support."
            ),
            published_date=_NOW - timedelta(days=1),
            closing_date=_NOW + timedelta(days=30),
            value_amount=None,
            value_text="Price on application",
            currency="GBP",
            duration="24 months",
            buyer="Greater London Authority",
            matched_keyword="Incident Response",
        ),
    ]