一键导入
data-science-for-intelligence
Statistical analysis, ML, NLP, time series, and network analysis for European Parliament political data
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Statistical analysis, ML, NLP, time series, and network analysis for European Parliament political data
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
C4 architecture model, security architecture, Mermaid diagrams, SECURITY_ARCHITECTURE.md, and comprehensive documentation per Hack23 Secure Development Policy
AI-augmented development controls, GitHub Copilot governance, LLM security, AI-generated code review per Hack23 Secure Development Policy
EU AI Act compliance, OWASP LLM security, responsible AI practices for parliamentary data and MCP server applications
Enforce code quality with ESLint, TypeScript strict mode, Knip unused detection, and quality gates for MCP servers
ISO 27001, NIST CSF 2.0, CIS Controls v8.1, EU CRA compliance mapping, multi-standard alignment per Hack23 ISMS policies
Contribution process with PR workflow, code review standards, commit conventions, and open source best practices
| name | data-science-for-intelligence |
| description | Statistical analysis, ML, NLP, time series, and network analysis for European Parliament political data |
| license | MIT |
This skill applies when:
All data science activities must comply with Hack23 ISMS policies for data integrity, GDPR-compliant processing, and reproducible analysis.
# Map MEP positions from roll-call vote data (conceptual pipeline)
# Data source: EP MCP Server → get_voting_records (vote results)
1. Construct vote matrix: MEPs (rows) × roll-call votes (columns)
- Values: +1 (Yes), -1 (No), 0 (Abstain), NaN (Absent)
2. Handle missing data: impute or filter MEPs with <50% participation
3. Apply dimensionality reduction:
- PCA: First component ≈ left-right dimension
- Second component ≈ pro-/anti-EU integration dimension
4. Validate: Check that political groups cluster as expected
- LEFT/G-EFA on left, EPP/ECR/ID on right
- Pro-EU (S&D, RE, EPP) vs. eurosceptic (ECR, ID) on second axis
5. Visualize: 2D scatter plot with political group coloring
- Compare across legislative terms for ideological drift
Pipeline for analyzing EP legislative amendments:
Data source: EP MCP Server → search_documents, track_legislation
1. Text Extraction: Parse legislative amendment texts (24 languages)
2. Language Detection: Identify primary language, align translations
3. Topic Modeling (LDA/BERTopic):
- Discover policy themes across committee reports
- Track topic prevalence over time
4. Sentiment/Framing Analysis:
- Classify amendment tone (restrictive vs. permissive)
- Detect regulatory framing (precautionary vs. innovation-friendly)
5. Similarity Analysis:
- Identify duplicate/similar amendments across political groups
- Detect coordinated amendment strategies
Build MEP collaboration networks from EP MCP Server data:
Nodes: MEPs (attributes: country, political group, committee)
Edges: Co-sponsorship, co-rapporteurship, shared amendments
Metrics to compute:
- Degree centrality: Most connected MEPs (cross-group bridges)
- Betweenness centrality: MEPs bridging political groups
- Community detection: Identify voting blocs beyond formal groups
- Assortativity: Do MEPs collaborate within or across national lines?
Data sources:
- get_meps: Node attributes (country, group, committee membership)
- get_voting_records: Co-sponsorship and amendment data
- track_legislation: Rapporteur and shadow rapporteur pairs
Track EP legislative output over time:
Metrics:
- Dossiers completed per plenary session
- Average time from Commission proposal to EP first reading
- Amendment volume per committee per session
- Voting cohesion index per political group over time
Techniques:
- Seasonal decomposition (plenary session calendar effects)
- Change point detection (new legislative term, leadership change)
- Granger causality (do committee votes predict plenary outcomes?)
Data: EP MCP Server → track_legislation, get_voting_records