NiccolΓ² Ridi's Avatar

NiccolΓ² Ridi

@niccoloridi.bsky.social

Associate Prof in Public Int'l Law @KCL_Law πŸ‡¬πŸ‡§ + Associate Director, CIGAD + empiriste @rightsnudge. Courts, networks πŸ•Έ, IOs, smart treaties.

867 Followers  |  664 Following  |  29 Posts  |  Joined: 19.10.2023
Posts Following

Posts by NiccolΓ² Ridi (@niccoloridi.bsky.social)

Post image

~900 downloads in the first few days on PyPI – but only ~10% look like real Python environments (the rest are mirrors / bots).

So roughly 20–30 genuine installs per day.

For a niche CJEU empirical toolkit, I’ll take that.

pypi.org/project/cjeu...

03.03.2026 12:50 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thank you!

28.02.2026 19:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

6/ MIT licensed, on PyPI now. Feedback, issues, and contributions welcome. pypi.org/project/cjeu-py

28.02.2026 17:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

5/ Full CLI with search built in – query your local data by full text, party name, citation graph, subject matter, or legislation. Or hit CELLAR directly with headnote search, no local data needed.

28.02.2026 17:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

4/ Everything is designed for standard research workflows: Parquet files at every stage, pandas DataFrames in and out, resumable downloads, deterministic caching. Each pipeline step is independently inspectable and re-runnable.

28.02.2026 17:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

3/ I'm most pleased with the interactive citation network export. Nodes sized by PageRank, coloured by community/procedure/year, filterable by subject matter, court, and date. Self-contained HTML – just open in a browser. Also exports GEXF for Gephi.

28.02.2026 17:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

2/ Optional LLM classification sorts each citation by precision, use, treatment, and topic – taxonomy drawn from Marc Jacob's work on precedent at the CJEU. Works with Gemini out of the box, or any local model via Ollama/vLLM/LM Studio.

28.02.2026 17:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

1/ The pipeline: download case metadata + full texts from the EU's official CELLAR endpoint (no scraping), parse XHTML headers for court composition, parties, and representatives, extracts case-law citations with para-level context across 14 regex patterns + italic markers + party name matching.

28.02.2026 17:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
cjeu-py Python toolkit for empirical research on the Court of Justice of the European Union

🧡 I just released cjeu-py – an open-source Python toolkit for empirical research on the Court of Justice of the EU.

pip install cjeu-py

It collects structured data from CELLAR, parses judgments, extracts citations, and optionally classifies them with an LLM. Thread πŸ‘‡

pypi.org/project/cjeu...

28.02.2026 17:26 β€” πŸ‘ 14    πŸ” 2    πŸ’¬ 3    πŸ“Œ 0
GenAI as an International Lawyer: A Case Study with the Jessup International Law Moot Court This paper investigates the capacity of Generative Artificial Intelligence, specifically Large Language Models, to craft compelling international legal argument

This study identifies current GenAI strengths & limitations in legal argumentation and critically informs:

➑️ Best practices in prompt engineering
➑️ Human-AI collaboration strategies
➑️ Emerging regulatory policies for legal education & practice

Read it here: papers.ssrn.com/sol3/papers....

06.06.2025 10:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The results? LLM-generated memorials often scored average to superior, some even receiving exceptional praise! 🌟 However, our analysis also uncovered persistent shortcomings: factual inaccuracies, hallucinated citations, and superficial legal analysis. 🧐

06.06.2025 10:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

We put leading LLMs (Gemini 2.0 & GPT-4o) to the ultimate test: crafting complete memorials for the prestigious Jessup Moot Court Competition. These AI-generated submissions were then anonymously evaluated by real judges – a unique benchmark!

06.06.2025 10:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Thrilled to share our new paper, "GenAI as an International Lawyer: A Case Study with the Jessup International Law Moot Court", which Damien Charlotin and myself have been working on! βš–οΈπŸ€–

SSRN Link: papers.ssrn.com/sol3/papers....

06.06.2025 10:57 β€” πŸ‘ 9    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Preview
Digital Futures Institute announces eleven new Fellows for 2025-26 Eleven interdisciplinary projects awarded Fellowships from the Digital Futures Institute for the 2025-26 cohort.

πŸ‘ Meet our eleven new Digital Futures Institute Fellows!

Congratulations @lboungr.bsky.social, Rowan Boyson, Mark Cote, Amrita Dhillon, Alex Gould, Elisabeth Kelan, @niccoloridi.bsky.social, Gabriele Salciute Civiliene, Astrid Van den Bossche, @jamiewoodcock.bsky.social & @lorenzoz.bsky.social πŸ”½

15.04.2025 10:53 β€” πŸ‘ 13    πŸ” 7    πŸ’¬ 1    πŸ“Œ 1
Post image

From Art. 38(1)(d) ICJ Statute to LLMs: how will AI reshape "the teachings of the most highly qualified publicists"? On textbooks, authority, and knowledge production in international law in the age of artificial intelligence.

papers.ssrn.com/sol3/papers....

20.01.2025 19:34 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Congrats Jim!

10.01.2025 08:17 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Welcome to day 2 of me ignoring all my other commitments to watch the ICJ climate advisory opinion live stream. Day 2 will feature interventions by Belize, Bolivia, Brazil, Burkina Faso, Cameroon, the Philippines, Canada, Chile, China, Colombia, Dominica, and South Korea webtv.un.org/en/asset/k1p...

03.12.2024 09:03 β€” πŸ‘ 66    πŸ” 21    πŸ’¬ 1    πŸ“Œ 6
Preview
The afterlife of ISDS awards: post-award settlements and the limits of transparency reforms Abstract. Post-award settlements in investor–state dispute settlement (ISDS) remain largely unstudied. One of the reasons for this gap in knowledge is the

Finally, it’s out! Our paper paper on the hidden afterlife of ISDS awards published in open access: academic.oup.com/jids/advance...
We draw on a new COPIID dataset to unveil patters of compliance with investment arbitration awards and unveil a significant number of post-award settlements…

27.11.2024 12:17 β€” πŸ‘ 16    πŸ” 4    πŸ’¬ 2    πŸ“Œ 1
Post image Post image

Mapping the Invisible College of IL + the neighbouring law professoriate more generally. An interactive visualization of a "friends of friends" network (with some pruning, lest it become unwieldy). Takes a while to load, will likely won't open on mobile.

ouestware.gitlab.io/retina/beta/...

18.11.2024 21:07 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The idea is to focus on likes, replies, and reposts to identify patterns of engagementβ€”who supports, who debates, and whose ideas are amplified.

17.11.2024 22:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I start with one user and expands outward, capturing connections to followers, those they follow, and interactions across posts. So I can identify both direct and indirect ties within these networks.

17.11.2024 22:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I’ve been analysing how international lawyers (and their 'neighbours') interact on Bluesky, creating networks based on likes, replies, reposts, and connections.

17.11.2024 22:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Thanks! There will be more as soon as the numbers are crunched!

17.11.2024 22:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

International legal argument / banter unfolding: we have a proof of concept.

Total nodes collected: 141112
Total interactions: 403857

- Likes: 186693 total interactions
- Replies: 108617 total interactions
- Reposts: 108547 total interactions

17.11.2024 22:12 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Still calculating everythingβ€”it got to 1.5M edges pretty quick, so I will need to implement some culling logic to make it more manageable!

16.11.2024 14:02 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

1) Unpacking international legal argument by leveraging computational techniques and, more recently, GenAI;
2) Mapping the 'invisible college' of international lawyers and its dynamics in various ways, including scraping Bluesky. (Not technically working on it, but the code is running...)

16.11.2024 11:17 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Okay, I've found most of you. Hello Invisible College of BlueSky!

15.11.2024 14:23 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Welpβ€”and it's just 10% of the data.

14.11.2024 19:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Hold my beer, I am going in!

14.11.2024 19:30 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

I guess we'll know soon:

14.11.2024 16:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0