|
6 | 6 | from pathlib import Path |
7 | 7 | import re |
8 | 8 |
|
9 | | -# Mapping of risk numbers to names (you'll need to provide the actual names) |
| 9 | +# Mapping of risk numbers to names from index.html |
10 | 10 | RISK_NAMES = { |
11 | 11 | 1: "1.1 Unfair discrimination and misrepresentation", |
12 | | - 2: "1.2 Erosion of privacy", |
13 | | - 3: "2.1 Underuse or non-use of AI due to misplaced fears", |
14 | | - 4: "2.2 Unauthorized and harmful uses", |
15 | | - 5: "3.1 Overreliance and unsafe use", |
16 | | - 6: "3.2 Goal misspecification or gaming", |
17 | | - 7: "3.3 Hazardous task execution", |
18 | | - 8: "4.1 Harmful content generation", |
19 | | - 9: "4.2 Malicious use", |
20 | | - 10: "5.1 Value misalignment", |
21 | | - 11: "5.2 Persuasive and manipulative capabilities", |
22 | | - 12: "6.1 AI-enabled cyberattacks", |
23 | | - 13: "6.2 Accidents and structural failures", |
24 | | - 14: "6.3 Poor product design", |
25 | | - 15: "7.1 Intellectual property violations", |
26 | | - 16: "7.2 Unaccountable AI-caused harms", |
27 | | - 17: "7.3 Unfair market dynamics", |
28 | | - 18: "8.1 Negative impacts on labor markets", |
29 | | - 19: "8.2 Geopolitical instability", |
30 | | - 20: "8.3 Societal fragmentation and polarization", |
31 | | - 21: "9.1 Model theft", |
32 | | - 22: "9.2 Data poisoning and other tampering", |
33 | | - 23: "10.1 Autonomous decision-making", |
34 | | - 24: "10.2 Loss of control and autonomous replication" |
| 12 | + 2: "1.2 Exposure to toxic content", |
| 13 | + 3: "1.3 Unequal performance across groups", |
| 14 | + 4: "2.1 Compromise of privacy by obtaining, leaking or correctly inferring sensitive information", |
| 15 | + 5: "2.2 AI system security vulnerabilities and attacks", |
| 16 | + 6: "3.2 False or misleading information", |
| 17 | + 7: "3.1 Pollution of information ecosystem and loss of consensus reality", |
| 18 | + 8: "4.1 Disinformation, surveillance, and influence at scale", |
| 19 | + 9: "4.3 Cyberattacks, weapon development or use, and mass harm", |
| 20 | + 10: "4.2 Fraud, scams, and targeted manipulation", |
| 21 | + 11: "5.1 Overreliance and unsafe use", |
| 22 | + 12: "5.2 Loss of human agency and autonomy", |
| 23 | + 13: "6.1 Power centralization and unfair distribution of benefits", |
| 24 | + 14: "6.2 Increased inequality and decline in employment quality", |
| 25 | + 15: "6.3 Economic and cultural devaluation of human effort", |
| 26 | + 16: "6.4 Competitive dynamics", |
| 27 | + 17: "6.5 Governance failure", |
| 28 | + 18: "6.6 Environmental harm", |
| 29 | + 19: "7.1 AI pursuing its own goals in conflict with human goals or values", |
| 30 | + 20: "7.2 AI possessing dangerous capabilities", |
| 31 | + 21: "7.3 Lack of capability or robustness", |
| 32 | + 22: "7.4 Lack of transparency or interpretability", |
| 33 | + 23: "7.5 AI welfare and rights", |
| 34 | + 24: "7.6 Multi-agent risks" |
35 | 35 | } |
36 | 36 |
|
37 | 37 | def fix_risk_name(file_path): |
|
0 commit comments