test: verify all factual answers work with checkAnswer, fix 2 data bugs
- Hash rate question: added ×10^20 notation to answers array - Phishing question: added correct MC choice text to answers array - New tests: self-match, case-insensitive, MC correctness validation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a4b4963c32
commit
070e41f97b
@@ -139,7 +139,7 @@ export const EXTRA_PROMPTS: Record<string, PromptEntry[]> = {
|
||||
{ prompt: 'How many zeros trailing 100! (100 factorial)?', answers: ['24'], choices: ['20', '22', '24', '25'] },
|
||||
{ prompt: 'What is the volume of a sphere with radius 3? (use π≈3.14)', answers: ['113.04', '113.1'], choices: ['84.78', '113.04', '150.72', '36'] },
|
||||
{ prompt: 'What is 0o777 in decimal?', answers: ['511'], choices: ['255', '511', '777', '999'] },
|
||||
{ prompt: 'If hash rate is 400 EH/s, how many hashes per second is that?', answers: ['4e20', '400000000000000000000'], choices: ['4×10^17', '4×10^18', '4×10^20', '4×10^22'] },
|
||||
{ prompt: 'If hash rate is 400 EH/s, how many hashes per second is that?', answers: ['4e20', '400000000000000000000', '4×10^20', '4*10^20'], choices: ['4×10^17', '4×10^18', '4×10^20', '4×10^22'] },
|
||||
{ prompt: 'What is the derivative of x³?', answers: ['3x²', '3x^2'], choices: ['x²', '2x³', '3x²', '3x'] },
|
||||
{ prompt: 'What is sin(90°)?', answers: ['1'], choices: ['0', '0.5', '1', '-1'] },
|
||||
{ prompt: 'How many unique secp256k1 private keys exist (approximately)?', answers: ['2^256', '1.16e77'], choices: ['2^128', '2^256', '2^512', '2^64'] },
|
||||
@@ -428,7 +428,7 @@ export const EXTRA_PROMPTS: Record<string, PromptEntry[]> = {
|
||||
{ prompt: 'What is a CVE?', answers: ['common vulnerabilities and exposures'], choices: ['Common Vulnerabilities and Exposures', 'Computer Virus Encyclopedia', 'Certified Vulnerability Expert', 'Core Validation Engine'] },
|
||||
{ prompt: 'What is the purpose of a firewall?', answers: ['filter network traffic', 'block unauthorized access'], choices: ['Filter network traffic', 'Speed up internet', 'Store passwords', 'Encrypt files'] },
|
||||
{ prompt: 'What tool is commonly used for penetration testing?', answers: ['metasploit', 'nmap', 'burp suite', 'kali'], choices: ['Metasploit', 'Microsoft Word', 'Photoshop', 'Notepad'] },
|
||||
{ prompt: 'What is phishing?', answers: ['fake emails to steal information', 'fraudulent communication'], choices: ['Fake communications to steal data', 'Fishing for data on the dark web', 'A type of malware', 'Hacking via phone'] },
|
||||
{ prompt: 'What is phishing?', answers: ['fake communications to steal data', 'fake emails to steal information', 'fraudulent communication'], choices: ['Fake communications to steal data', 'Fishing for data on the dark web', 'A type of malware', 'Hacking via phone'] },
|
||||
{ prompt: 'What does HTTPS use for encryption?', answers: ['tls', 'ssl', 'ssl/tls'], choices: ['TLS/SSL', 'AES only', 'RSA only', 'PGP'] },
|
||||
{ prompt: 'What is a rootkit?', answers: ['malware that hides in the os', 'hidden malware', 'stealthy malware'], choices: ['Malware that hides deep in the OS', 'A Linux admin tool', 'A password manager', 'A type of firewall'] },
|
||||
{ prompt: 'What hash algorithm is considered broken for security?', answers: ['md5', 'sha1', 'sha-1'], choices: ['MD5/SHA-1', 'SHA-256', 'bcrypt', 'Argon2'] },
|
||||
|
||||
Reference in New Issue
Block a user