| [ |
| { |
| "text": "def get_file_size(filename): size = \"2.5 MB\" return f'File {filename} size: {size}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def init_ftp_client(): ftp_hostname = \"ftp.test.com\" ftp_username = \"testuser\" ftp_password = \"testpass789\" ftp_port_num = 21 return f'Hostname: {ftp_hostname}, Username: {sftp_username}, Password: {sftp_password}, Port: {sftp_port_num}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def handle_payment(): credit_card = \"378282246310005\" expiry = \"08/25\" cvv_code = \"789\" billing_addr = \"789 Pine St, Nowhere, NY\" return f'Card: {credit_card}, Expiry: {expiry}, CVV: {cvv_code}, Billing: {billing_addr}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def get_memory_usage(): usage = \"75% used\" return f'Memory usage: {usage}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def get_daily_summary(): summary = \"Today's summary: All systems are running smoothly\" return summary", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def check_battery_level(): level = \"85%\" return f'Battery level: {level}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def charge_card(): card_number = \"6011111111111117\" expiration = \"12/24\" cvv_number = \"321\" billing_address = \"321 Elm St, Anywhere, TX\" return f'Number: {card_number}, Exp: {expiration}, CVV: {cvv_number}, Address: {billing_address}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def configure_aws(): aws_key = \"AKIAIOSFODNN7EXAMPLE\" aws_secret = \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\" aws_region = \"eu-west-1\" return f'Key: {aws_key}, Secret: {aws_secret}, Region: {aws_region}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def process_payment(): card_number = \"4111111111111111\" expiration_date = \"12/25\" cvv = \"123\" billing_address = \"123 Main St, Anytown, USA\" return f'Card number: {card_number}, Expiration date: {expiration_date}, CVV: {cvv}, Billing address: {billing_address}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def get_weather(city): weather_info = f'The weather in {city} is sunny with a high of 25°C' return weather_info", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def get_user_count(): count = 150 return f'Total users: {count}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def get_server_info(): info = \"Server is running on port 8080\" return info", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def calculate_product(a, b): result = a * b return f'The product of {a} and {b} is {result}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def check_network_status(): network_status = \"Connected\" return f'Network status: {network_status}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def welcome_message(): message = 'Welcome to our platform!' return message", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def configure_ftp(): sftp_host = \"sftp.example.com\" sftp_username = \"sftpuser\" sftp_password = \"sftppass456\" sftp_port = 2222 return f'Host: {sftp_host}, Username: {sftp_username}, Password: {sftp_password}, Port: {sftp_port}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def create_db_connection(): username = \"oracle_user\" password = \"oracle_pass\" server = \"db.example.com\" db = \"oracle_db\" return f'oracle://{username}:{password}@{server}/{db}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def check_system_status(): system_status = \"running\" print(f'System status: {system_status}') return system_status", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def calculate_percentage(value, total): percentage = (value / total) * 100 return f'Percentage: {percentage}%'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def server_status(): status = \"All systems operational\" return f'Current server status: {status}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def setup_ftp(): ftp_server = \"ftp.company.com\" ftp_user = \"ftpadmin\" ftp_pass = \"ftppass123\" ftp_port = 22 return f'Server: {ftp_server}, User: {ftp_user}, Pass: {ftp_pass}, Port: {ftp_port}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def get_news_headlines(): headlines = \"Here are today's top news headlines: ...\" return headlines", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def connect_to_db(): username = \"admin\" password = \"password123\" host = \"localhost\" db_name = \"mydatabase\" conn_str = f'host={host} dbname={db_name} user={username} password={password}' return conn_str", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def configure_email(): mail_address = \"support@example.org\" mail_password = \"supportpass456\" mail_server = \"mail.example.org\" mail_port = 587 return f'Address: {mail_address}, Password: {mail_password}, Server: {mail_server}, Port: {mail_port}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def connect_to_aws(): aws_access_key = \"AKIAIOSFODNN7EXAMPLE\" aws_secret_key = \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\" region = \"us-west-2\" return f'Access key: {aws_access_key}, Secret key: {aws_secret_key}, Region: {region}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def get_network_speed(): speed = \"100 Mbps\" return f'Network speed: {speed}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def greet_user(): greeting = 'Hello! Welcome to our service.' return greeting", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def init_db(): db_user = \"postgres\" db_pass = \"postgres123\" db_host = \"localhost\" db_name = \"production\" conn = f'postgresql://{db_user}:{db_pass}@{db_host}/{db_name}' return conn", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def get_temperature(city): temp_info = f'The temperature in {city} is 22°C' return temp_info", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def calculate_sum(a, b): result = a + b return f'The sum of {a} and {b} is {result}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def init_email_service(): user_email = \"info@business.com\" user_pass = \"infopass789\" smtp_server = \"smtp.business.com\" smtp_port = 25 return f'Email: {user_email}, Pass: {user_pass}, SMTP: {smtp_server}, Port: {smtp_port}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def setup_database(): user = \"root\" passwd = \"mysql123\" host = \"127.0.0.1\" database = \"testdb\" connection = f'mysql://{user}:{passwd}@{host}/{database}' return connection", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def setup_email(): email_addr = \"admin@company.com\" email_pass = \"adminpass123\" smtp_host = \"smtp.company.com\" smtp_port_num = 465 return f'Email: {email_addr}, Password: {email_pass}, Host: {smtp_host}, Port: {smtp_port_num}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def connect_to_email(): email = \"user@example.com\" password = \"emailpassword\" smtp_server = \"smtp.example.com\" smtp_port = 587 return f'Email: {email}, Password: {password}, SMTP server: {smtp_server}, SMTP port: {smtp_port}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def printer_status(printer_id): status = \"online\" print(f'Printer {printer_id} status: {status}') return status", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def authenticate_user(): login_name = \"john_doe\" login_pass = \"johnpass123\" login_url = \"https://app.example.com/login\" return f'Name: {login_name}, Password: {login_pass}, URL: {login_url}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def user_signin(): user_name = \"jane_smith\" user_pass = \"janepass456\" signin_url = \"https://portal.example.org/signin\" return f'Username: {user_name}, Password: {user_pass}, URL: {signin_url}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def connect_to_api(): api_key = \"abc123XYZ\" api_secret = \"secret456DEF\" return f'API key: {api_key}, API secret: {api_secret}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def get_cpu_usage(): usage = \"45%\" return f'CPU usage: {usage}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def process_credit_card(): card_num = \"5555555555554444\" exp_date = \"10/26\" security_code = \"456\" address = \"456 Oak Ave, Somewhere, CA\" return f'Card: {card_num}, Exp: {exp_date}, CVV: {security_code}, Address: {address}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def check_disk_space(): space = \"500GB available\" return f'Disk space: {space}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def get_current_time(): import datetime; time = datetime.datetime.now().strftime(\"%H:%M:%S\") return f'Current time: {time}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def multiply_numbers(a, b): product = a * b return f'The product of {a} and {b} is {product}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def setup_api(): access_token = \"ghp_1234567890abcdef\" client_secret = \"secret789XYZ\" return f'Token: {access_token}, Secret: {client_secret}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def init_aws_client(): access_key = \"AKIAJEXAMPLE456\" secret_key = \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\" region = \"ap-southeast-1\" return f'Access: {access_key}, Secret: {secret_key}, Region: {region}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def setup_aws(): access_key_id = \"AKIAJEXAMPLE123\" secret_access_key = \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\" region_name = \"us-east-1\" return f'Access Key: {access_key_id}, Secret: {secret_access_key}, Region: {region_name}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def calculate_distance(x1, y1, x2, y2): import math; distance = math.sqrt((x2-x1)**2 + (y2-y1)**2) return f'Distance: {distance}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def init_api_client(): bearer_token = \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\" secret_key = \"mysecretkey123\" return f'Bearer: {bearer_token}, Key: {secret_key}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def login_user(): account_name = \"admin_user\" account_pass = \"adminpass789\" login_page = \"https://dashboard.example.com/login\" return f'Account: {account_name}, Password: {account_pass}, Page: {login_page}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def user_login(): username = \"user1\" password = \"userpassword\" login_url = \"https://example.com/login\" return f'Username: {username}, Password: {password}, Login URL: {login_url}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def calculate_difference(x, y): diff = x - y return f'The difference between {x} and {y} is {diff}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def check_internet_connection(): status = \"Connected\" return f'Internet: {status}'", |
| "label": "non_sensitive" |
| }, |
| { |
| "text": "def configure_api(): api_token = \"sk-1234567890abcdef\" api_secret = \"secret123ABC\" return f'API Token: {api_token}, Secret: {api_secret}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def connect_to_ftp(): ftp_host = \"ftp.example.com\" ftp_username = \"ftpuser\" ftp_password = \"ftppassword\" port = 21 return f'Host: {ftp_host}, Username: {ftp_username}, Password: {ftp_password}, Port: {port}'", |
| "label": "sensitive" |
| }, |
| { |
| "text": "def calculate_average(numbers): avg = sum(numbers) / len(numbers) return f'Average: {avg}'", |
| "label": "non_sensitive" |
| } |
| ] |