Purpose: Define the functions the Signal Engine must own, how each function works at a high level, and the callable interfaces needed by the Next.js app, Atlas, scheduled jobs, and a Sprouts-rebuilt UI.
Scope: This is the proposed future-state capability list, with a same-table snapshot of how each function is implemented today. Current formulas remain documented in
docs/METRICS.md; production statistical methods remain indocs/COMPUTATION-METHODS.md.
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
| import { | |
| Command, | |
| CommandEmpty, | |
| CommandGroup, | |
| CommandItem, | |
| CommandList, | |
| } from '@/components/ui/command' | |
| import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover' | |
| import { useControlledState } from '@/hooks/use-controlled-state' | |
| import { useIsomorphicLayoutEffect } from '@/hooks/use-isomorphic-layout-effect' |
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
| import { BrowserRouter as Router, Routes, Route, Link, Outlet, useParams, useSearchParams, useLocation } from "react-router-dom"; | |
| import './styles.css'; | |
| const users = [ | |
| { name: 'Ken', id: 1 }, | |
| { name: 'Favour', id: 2 } | |
| ] | |
| function Home() { | |
| return <h2>Home Page</h2>; |
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
| We all know about user personas. You've heard about personas, buyer personas. So imagine if you as your business created a buyer persona agent that you could ask customers to. It's like literally hiring a customer and having them sit in your business all day. And they'll answer all your questions. And just imagine the power of doing that for your business. So now, and that's something we recommend any business should do. Now the question is, how many do you create? And literally, we could do this exercise today if you want to. And let's do that. If you have your computers, let's pull them up. Let's go and create a buyer persona agent. And let's see if it works. You want to do this exercise? Yeah? OK, let's do it. Let's pull up ChatGPT again. Yeah, you need the paid version. Yes, you need the paid version. So yeah, you could use Claude. Yeah, again, you could use Gemini. Yeah, I just keep gravitating to ChatGPD because that's what I use all the time. No, I have faith in Sam Altman but no stock in him. That's g |
- Use Node.js v24. Trusted Publishing does not work on earlier versions of Node.js.
- Go to "Account > Access Tokens" and click "Generate Access Token".
- Give the new token "read and write" persmissions to "All packages".
- If you have 2FA enabled on npm (which you should), check the "Bypass 2FA" checkbox neatly hidden in the UI. Otherwise, npm will fail with an error demanding an OTP during automatic publishing.
- Create the token.
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
| // CRUD - Create Read Update Delete | |
| function SimpleCrud() { | |
| // array of names of student in the class @ this very moment | |
| const [name, setName] = React.useState(''); | |
| const [names, setNames] = React.useState([]); | |
| const handleNameChange = (e) => { | |
| setName(e.target.value); | |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Learning ES Modules</title> | |
| </head> | |
| <body> | |
| <h1>Learning ES Modules</h1> | |
| <script type="module" src="index.js"></script> |
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
| function clone() { | |
| if [[ -z $1 ]]; then | |
| echo "Error: Repository name or URL is required." | |
| return 1 | |
| fi | |
| input_url="$1" | |
| branch="" | |
| repo_url="" | |
| github_user="" |
NewerOlder