This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| /* | |
| (c) by Thomas Konings | |
| Random Name Generator for Javascript | |
| */ | |
| // https://shockwaveinnovations.com/code-names/ | |
| function capFirst(string) { | |
| return string.charAt(0).toUpperCase() + string.slice(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Loan No. | RGN | Account Name | Principal Bal. | Interest Bal. | Total | Disbursed | End Date | Int. Rate | Tenure | Current Inst. | Rem. Inst. | Prinpal Pyt(Mth) | Int. Pyt(Mth) | Total Pyt(Mth) | CAGD Payment | Disbursed amount | Acc. Int. | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1001 | 100 | AaA | 944.44 | 510 | 1454.44 | 06/09/2023 | 06/09/2025 | 3 | 18 | 1 | 17 | 55.56 | 30 | 85.56 | 86 | 1000 | 540 | |
| 1002 | 200 | BaB | 944.44 | 510 | 1454.44 | 09/09/2023 | 09/09/2025 | 3 | 18 | 1 | 17 | 55.56 | 30 | 85.56 | 86 | 1000 | 540 | |
| 1003 | 300 | CaC | 888.89 | 480 | 1368.89 | 31/08/2023 | 31/08/2025 | 3 | 18 | 2 | 16 | 55.56 | 30 | 85.56 | 86 | 1000 | 540 | |
| 1004 | 400 | DaD | 944.44 | 510 | 1454.44 | 09/09/2023 | 09/09/2025 | 3 | 18 | 1 | 17 | 55.56 | 30 | 85.56 | 86 | 1000 | 540 | |
| 1005 | 500 | EaE | 888.89 | 480 | 1368.89 | 09/08/2023 | 09/08/2025 | 3 | 18 | 2 | 16 | 55.56 | 30 | 85.56 | 86 | 1000 | 540 | |
| 1006 | 600 | FaF | 944.44 | 425 | 1369.44 | 11/09/2023 | 11/09/2025 | 2.5 | 18 | 1 | 17 | 55.56 | 25 | 80.56 | 81 | 1000 | 450 | |
| 1007 | 700 | GaG | 944.44 | 425 | 1369.44 | 12/09/2023 | 12/09/2025 | 2.5 | 18 | 1 | 17 | 55.56 | 25 | 80.56 | 81 | 1000 | 450 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'jaro_winkler' | |
| class NameMatcher | |
| ACCEPTANCE_THRESHOLD = 0.9 | |
| COMMON_TITLES = /(Mr|Mrs|Ms|Miss|Dr|Prof)/i | |
| CONJUNCTIONS = /(and)/i | |
| COMMON_SUFFIXES = /(Jr|Sr|III|II|IV)/i | |
| # TODO: Some weird ones we've seen are | |
| # LC = Limited Company |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "bundler/inline" | |
| gemfile do | |
| source "https://rubygems.org" | |
| gem "async" | |
| gem "ferrum" | |
| gem "state_machines" | |
| gem "breaker_machines" | |
| gem "concurrent-ruby" | |
| gem "nokogiri" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module DSPy | |
| # Permanent monkey patches installed once at startup | |
| module MessageCapturing | |
| class << self | |
| def install! | |
| return if @installed | |
| patch_openai_adapter if defined?(DSPy::LM::Adapters::OpenAIAdapter) | |
| patch_gemini_adapter if defined?(DSPy::LM::GeminiAdapter) | |
| patch_anthropic_adapter if defined?(DSPy::LM::Adapters::AnthropicAdapter) |
OlderNewer