Skip to content

Instantly share code, notes, and snippets.

View textarcana's full-sized avatar

Noah Sussman textarcana

View GitHub Profile
@textarcana
textarcana / fintech-evals.md
Created September 12, 2025 10:53
fintech evals for LLM

Pre-Release and Training-Stage Model Evaluations in Finance

This document summarizes practices and financial evaluation approaches that are applied before deployment of AI models in the financial sector. The focus is on validation during training, testing, or pre-release stages.


Key Practices & Metrics

Validation / Pre-release Activity What’s Done / Measured Why It Matters in Finance Context
@textarcana
textarcana / latex-setup.sh
Last active September 7, 2025 04:03
Ubuntu 24 WSL setup for LaTeX (WINDOWS WSL)
sudo snap install languagetool
sudo apt -y install ack \
bat \
batcat \
chktex \
cowsay \
emacs \
entr \
fzf \
@textarcana
textarcana / bump_git_tag_minor_version.sh
Last active April 17, 2025 21:15
bump minor version number on the latest git tag
# Bump the minor version of the git tag assuming the version tags are formatted like v0.0.0
git tag v$(( $(git tag | sort -V | tail -n1 | cut -d. -f1))).$(( $(git tag | sort -V | tail -n1 | cut -d. -f2))).$(( $(git tag |
sort -V | tail -n1 | cut -d. -f3) + 1)) -m 'Bump minor version from v1.2.3 to v1.2.4'
@textarcana
textarcana / run_latest_docker_image.sh
Created January 10, 2025 22:52
Run the latest docker image
docker images | head -n2 | tail -n1 | perl -wlane 'print $F[2]' | xargs -I{latest} docker run --rm {latest}
@textarcana
textarcana / pandas_ta_technical_indicators.md
Last active May 15, 2025 09:37
pandas_ta full list of technical indicators as of 2024
@textarcana
textarcana / git_history_pop.sh
Created November 21, 2024 17:29
In git, put the repo into the state it was at commit X, without changing history. Like git stash pop but for git history.
git checkout <hash> -- .
@textarcana
textarcana / smiley_prompt.sh
Last active November 14, 2024 17:48
bash smiley face that changes based on exit status. Based on some stack exchange posts I read a long time ago.
# Smiley face prompt if the last command would have been a
# passing Jenkins build step.
#
# Add this to your shell config file.
#
# A smiley face if the exit status of the last command was 0.
#
# Otherwise a frowny face.
RESET="\[\017\]"
@textarcana
textarcana / between_two_regex
Last active November 24, 2021 00:22
Between Two Regex: Find the text between two lines that match regexes.
#!/usr/bin/env perl
use strict;
use warnings;
use Carp;
use v5.10;
use constant FALSE => 1==0;
use constant TRUE => not FALSE;
# Given two regex that match a start and end line, return blocks of
# Silently shift the first line off input sent through a pipe.
all_but_first_line(){
# Read from a pipe
declare input=${1:-$(</dev/stdin)};
# Print all but the first line of input
tail -n +2 <<< "$input"
}