MétaCan
Menu
Back to cohort
Record W4413939178 · doi:10.24908/iqurcp19921

Performing Automated Employment Law Case Analysis Using Large Language Models

2025· article· en· W4413939178 on OpenAlexvenueaboutno aff
Hendrix Gryspeerdt

Bibliographic record

VenueInquiry Queen s Undergraduate Research Conference Proceedings · 2025
Typearticle
Languageen
FieldSocial Sciences
TopicArtificial Intelligence in Law
Canadian institutionsnot available
Fundersnot available
KeywordsComputer scienceNatural language processingLawLinguisticsArtificial intelligenceProgramming languagePolitical sciencePhilosophy

Abstract

fetched live from OpenAlex

In pursuing agentic AI for complex legal workflows, systems must deliver accurate, cited, and nuanced outputs—boiling down to accurate legal question answering (QA). This project focuses on performing QA in Canadian employment law, focusing on worker classification (e.g., employee vs. contractor tests from Sagaz Industries precedents), using the Sagaz dataset: over 300 case analyses from David Liang and Samuel Dahan's Conflict Analytics Lab. One of the limitations of Large Language Models (LLMs) is that in analyzing large 30-page or longer documents to answer questions, even though all the text is in the context window, key pieces of information may still be missed in answering questions. To address this limitation, we explore various Retrieval-Augmented Generation (RAG) techniques to provide Large Language Models (LLMs) with the relevant context for 20+ case-specific questions that make up the case analysis. RAG techniques include no-processing (full case as context), chunking with vector embeddings for efficient retrieval, knowledge graph construction for Graph RAG to capture relational elements, and combinations of different methods. Additionally, methods for performing the analysis of multiple questions in a single prompt are also being explored to balance token usage efficiency and accuracy. Preliminary evaluations have with the no-processing technique has shown some signs of limited success of 50% accuracy on a 20-case subset of cases in the dataset. Work is currently still ongoing: to improve the prompts used to specify the case analysis questions as mis-interpretation and overly strict evaluations were a leading cause of incorrect answers in these initial tests; to scale up the processing pipeline (as some of the processing techniques take up many millions of LLM tokens); and to analyze the resulting outputs across 20+ questions asked in each case analysis for the hundreds of cases.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.004
metaresearch head score (Gemma)0.023
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesnone
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Simulation or modeling · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: none
Teacher disagreement score0.023
Threshold uncertainty score0.045

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0040.023
Meta-epidemiology (narrow)0.0020.001
Meta-epidemiology (broad)0.0010.003
Bibliometrics0.0030.001
Science and technology studies0.0010.001
Scholarly communication0.0030.006
Open science0.0020.002
Research integrity0.0010.003
Insufficient payload (model declined to judge)0.0070.006

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.191
GPT teacher head0.484
Teacher spread0.293 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

The models applied no category: nothing in the taxonomy fit this work.
Study designSimulation or modeling
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2025
Admission routes2
Has abstractyes

Explore more

Same venueInquiry Queen s Undergraduate Research Conference ProceedingsSame topicArtificial Intelligence in LawFrench-language works237,207