Richard Careaga: legal AI evaluator, former Associate General Counsel and Administrative Law Judge Portfolio
Legal Analysis and AI Application
Research lab
I maintain a local AI-workstation behind a firewall that features a Mac Studio M3 Ultra as an inference engine supported by Debian and Ubuntu servers.
2026: AI-assisted e-discovery research
Discovery roadmap for AI-assisted community detection, latent space models and temporal dynamics was the work of a single evening session interactively with Claude Opus 4.8 using a previously developed Postgres database of the Enron corpus, of 500,000 corporate emails from Enron Corporation acquired in connection with its bankruptcy.
AI-assisted preparation of privilege logs examined how the tools developed for the Enron analysis have application for the rapid triage of preparation for the accelerated meet and confer conference in federal court for discovery planning between the parties.
2026: AI-assisted corporate governance
AI-assisted corporate governance essay The tools developed for the Enron analysis have application for corporate governance by detecting human drift from corporate policy.
2026: AI-assisted briefs
A library of reference briefs can be a resource in appellate practice. From a local mirror of the CourtListener database, I developed a checklist and a golden response example on a recent Ninth Circuit Rule 56 summary judgment case involving class certification. As part of that work, I developed a workflow for review of AI-prepared transcripts.
2026: AI-assisted citation checking
Demonstration scaffolding for AI-assisted SCOTUS citation checking used a local full-text database of Supreme Court decisions containing pdf replicas of the official bound volumes of the U.S. reports with OCR, pdfs from the Court’s site of preliminary versions of opinions to be published in printed form and slip opinions. A dashboard allows a quotation with citation to be entered and checked against the full-text dataset to determine if it is character for character identical. If not, the quotation is marked to show changes if it bears a close resemblance, marked as a paraphrase or classified as fabricated. It uses TypeSafe’s Jev AI to assign a confidence level to the classification. For suspect citations, a side-by-side display of the printed and OCR pages are available for human inspection.
2026: AI-assisted contract analysis
Contractual analysis of the ability to modify mortgage loans within a Real Estate Mortgage Investment Conduit by Google Notebook.
2010-2019: Analysis of the Enron Email Corpus
Earlier analysis of the Enron corpus using keyword search and natural language processing and social network analysis.
2016 Police Involved Killings
Preliminary descriptive analysis of The Guardian’s database of police involved killings finding that the headline numbers gloss over considerable variation. For example, 13% of deaths of unarmed women were caused by motor vehicle accident.
2010 RMBS Pool Analysis
In-depth analysis of disclosure adequacy for public offerings of mortgage backed securities.
2009: Cash Flow Modeling
In 2009, the Securities and Exchange Commission solicited comments on a proposed rulemaking that would, among other measures, require new offerings of mortgage backed securities to include a cash flow model and an accompanying Python script1. I submitted a working example of such a script.
2007-2008: Analysis of Subprime Mortgage Pool Performance
I was Senior Vice President and Associate General Counsel in charge of mortgage backed securitizations for Washington Mutual, Inc. In early 2007, I was asked to vet a business presentation that was proposed to be given to investors to demonstrate that the pool performance was not as poor as thought. When the business was unable to provide solid supporting data, I compiled publicly available data on the underwriting characteristics and payment history of 125,000 loans originated and securitized in 2005-2006. The SQL database and analysis failed to demonstrate a strong association between credit granting criteria and default.
2004-2005: Regulation AB: Regulatory Regime Change
Application of securities law to issuance of residential mortgage backed securities had long relied on informal understandings with staff of the Securities and Exchange Commission. When the SEC announced a rulemaking to formalize the rules, I became heavily involved in the leadership of the American Securitization Forum to comment on behalf of the industry. I also led Washington Mutual’s operational response and prepared detailed guidance. A late-breaking surprise development resulted in a scramble to take advantage of new flexibility.
Data Science Experience
Data science, which we can think of as applied statistics, is more than a collection of techniques. It requires a thorough understanding of the data through the discipline of exploratory data analysis as well as application of the interpretation of the results.
As an AI trainer and evaluator, I bring three core capabilities to model development and reasoning formulation:
- Domain Expertise: AI models hallucinate confidently, especially in specialized domains. I audit model outputs against hard reality in high-complexity fields, backed by experience in SEC cash flow modeling, difference-in-difference econometrics, and high-stakes subprime mortgage analysis.
- Technical Insight: Evaluating advanced code generation and data pipelines requires more than basic scripting. I bring ca[abilities across R, Python, SQL, and Julia—demonstrated by authoring several registered Julia packages and publishing a textbook on Julia mapping.
- Pedagogy & Mentorship: Training models via RLHF requires breaking down complex human reasoning into explicit, correctable steps. I have honed this skill by providing over 500 accepted solutions on the Posit/R Community and serving as a technical advisor to doctoral researchers.
2018-2026 Community Support of Open Source Software
Provided 500 accepted answers to questions regarding the R statistical language, from setup through advanced statistics. R Community
Julia Packages
| Package | Purpose | Status |
| RSetup | Utility to facilitate setting environment for use of RCall package. | Registry |
| Breakers | Julia partial implementation of the R language classInt package to divide continuous intervals. | Registry |
| CensusACS | A partial implementation of the R language TidyCensus package of utilities for downloading U.S. Census bureau spatial data. | Registry |
| ColorVintner | An interactive viewer for the ColorBrewer palettes. | Registry |
| DiscoveryGraph | Identification of privilege log candidate emails using the Enron corpus as a motivating example | Development stage |
| GeoIDs | A utility for managing collections of enumeration units. | Registry |
| MakiePatterns | A utility to extend the Makie pattern types that provides the mapping patterns used by the U.S. Geological survey. | Registry |
| OLSPlots | Diagnostic plots for linear regression models. | Registry |
| StateBins | Functions to plot states of the US in equally sized squares to avoid areal extent bias. | Registry |
2019: Bioinformatics
2020-2024
2023: Remote Sensing Analysis
I assisted a doctoral student in his analysis of ecological changes in South Africa based on 300 MB remote sensing data by refactoring an R script of an author who was unavailable to provide support..
2023: Econometric Analysis
I assisted a doctoral student with a difference in difference analysis.
2024: Time Series Analysis
Electricity hedging time series analysis for global manufacturing firm.
2024: Bayesian Analysis of Election Polls
Tracked major political polls of Presidential candidates using Bayesian models.
2025 Political Economy Analysis of Secession of United States Regions
I analyzed a region-by-region partition of the United States, illustrated by the breakdown of “Siliconia,” centered around the Bay Area of California highlights its dependence on immigration to maintain population levels and its position as an economic center that would rank seventh in the European Community.
2026 Cartography
Published Julia Mapping: A Practical Guide
I published the following essay in August 2018, years before Large Language Models made “alignment” and “hallucination” household terms. It outlines what has since become the central challenge of modern artificial intelligence: the danger of relying on “black box” neural networks that cannot explain their reasoning. Today, my work as an AI trainer is dedicated to solving the exact problem I identified here—evaluating models to ensure they act as transparent, reliable tools rather than mysterious, unquestionable oracles.
I attended a nice Meetup last night, and one of the speakers quoted Turing’s description of a program able to modify its own instructions as a good description of artificial intelligence (AI) and another had a nifty typology relating all the standard tools in data science to their role in AI. This set me to thinking about the standards to which AI should be held.
I began a thought experiment:
Here, AI, is a dataset. I want to find out X. What do you suggest is the best way?
and AI would respond with one of three answers:
- This is a simple problem. Here are the standard solutions. Here are the advantages and disadvantages through the help menu or you can select one to run.
- This is a complicated problem, composed of several simple problems. The following combinations have proven helpful. Here are the advantages and disadvantages of each. Which would you like to try?
- This is a complex problem. Either more data is required or you will need further research in the domain for solution approaches. Standard tools can be expected to yield different results with the same input.
It doesn’t appear we’ve reached my heart’s desire yet. In a paper that I wished I had saved, I read a criticism of neural networks that they can operate as black boxes, producing perfectly useful results, but providing no traceable method as to how.
That’s not fair! After all, sauce for the goose …
Science is what we understand well enough to explain to a computer. Art is everything else we do.
— Donald Knuth
Why shouldn’t we hold AI to the same standard, and require it to explain to humans?
Finally, I am reminded of Croesus, a king in Asia Minor, not he of the Golden Touch. There were geopolitical issues with the Persian Emperor Cyrus, and Croesus made war plans. Like any good ruler of the time, he consulted the Oracles. His first prompt elicited the prophecy that if Croesus attacked the Persians, he would destroy a mighty empire. A second consultation yielded:
Wait till the time shall come when a mule is monarch of Media; Then, thou delicate Lydian, away to the pebbles of Hermus; Haste, oh! haste thee away, nor blush to behave like a coward.
— Herodotus
The king managed to torture this result into a favorable auspice and suffered defeat.
As successful as AI is proving at pattern recognition and classification, for example, we should take care not to rely heavily on results given without explanation and careful human review.
Since then the explainability of AI answers has been addressed through the thinking mode (partially). Our many cognitive biases remain the unsolved problem.
- 1In addition, we are proposing to require, along with the prospectus filing, the filing of a computer program of the contractual cash flow provisions expressed as downloadable source code in Python.