Commit ·
9c5ce62
1
Parent(s): b14b935
Document final runtime and submission state
Browse filesCo-authored-by: Codex <codex@openai.com>
- AGENT_TRACE.md +28 -3
- CODEX_BUILD_LOG.md +14 -0
- FIELD_NOTES.md +33 -0
- README.md +21 -19
- SUBMISSION.md +23 -13
- eval/README.md +6 -0
AGENT_TRACE.md
CHANGED
|
@@ -15,6 +15,31 @@ This project is being built with OpenAI Codex as the coding agent.
|
|
| 15 |
|
| 16 |
Open questions:
|
| 17 |
|
| 18 |
-
- Which
|
| 19 |
-
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
Open questions:
|
| 17 |
|
| 18 |
+
- Which real/sanitized user story should anchor the demo video?
|
| 19 |
+
- What final latency numbers should be reported after the public Space is stable?
|
| 20 |
+
|
| 21 |
+
## 2026-06-06
|
| 22 |
+
|
| 23 |
+
Codex helped:
|
| 24 |
+
|
| 25 |
+
- build the 100-case scam eval dataset and backend-aware eval runner
|
| 26 |
+
- wire configurable analyzers for heuristic, saved prediction, llama-cpp, and Transformers paths
|
| 27 |
+
- add JSON extraction and schema validation for model responses
|
| 28 |
+
- add a heuristic safety guard for weak small-model outputs
|
| 29 |
+
- switch the deployed runtime to ZeroGPU + `Qwen/Qwen3-0.6B`
|
| 30 |
+
- keep the llama.cpp path for local/eval evidence while avoiding it as the live judge-facing path
|
| 31 |
+
- harden Qwen thinking-token handling with `enable_thinking=False` where supported and `<think>` stripping as a fallback
|
| 32 |
+
- remove duplicate model calls from session memory saving
|
| 33 |
+
- add hidden page-load model warmup for the deployed Space
|
| 34 |
+
- redesign the Gradio UI around a calm safety-card experience
|
| 35 |
+
- add copyable trusted-person handoff text
|
| 36 |
+
- patch Gradio dark-mode/loading-opacity leakage
|
| 37 |
+
|
| 38 |
+
Current decisions:
|
| 39 |
+
|
| 40 |
+
- Deployed model: `Qwen/Qwen3-0.6B`.
|
| 41 |
+
- Deployed backend: Transformers on ZeroGPU.
|
| 42 |
+
- Local/eval model path: llama-cpp-python remains available for GGUF models.
|
| 43 |
+
- Fine-tuning: cut for this submission.
|
| 44 |
+
- Primary badges: Off-Brand, Sharing is Caring, Field Notes.
|
| 45 |
+
- Defensible badges: Off the Grid and Llama Champion, documented carefully.
|
CODEX_BUILD_LOG.md
CHANGED
|
@@ -26,3 +26,17 @@ Going forward, meaningful build commits should include a Codex co-author trailer
|
|
| 26 |
Codex helped expand the initial seed eval into a 100-case labeled dataset and upgraded the runner to report risk accuracy, scam-type accuracy, tactic recall, dangerous misses, safe-message false alarms, unsafe action violations, and category-level performance.
|
| 27 |
|
| 28 |
Codex then made the eval runner backend-aware so the same 100 cases can score the heuristic stub, saved JSONL predictions, or local GGUF models through `llama-cpp-python`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
Codex helped expand the initial seed eval into a 100-case labeled dataset and upgraded the runner to report risk accuracy, scam-type accuracy, tactic recall, dangerous misses, safe-message false alarms, unsafe action violations, and category-level performance.
|
| 27 |
|
| 28 |
Codex then made the eval runner backend-aware so the same 100 cases can score the heuristic stub, saved JSONL predictions, or local GGUF models through `llama-cpp-python`.
|
| 29 |
+
|
| 30 |
+
## Runtime Pivot
|
| 31 |
+
|
| 32 |
+
Codex helped compare the practical runtime paths and move the deployed app to Transformers on ZeroGPU with `Qwen/Qwen3-0.6B`.
|
| 33 |
+
|
| 34 |
+
The local GGUF/llama.cpp path remains in the repo for eval and local experimentation, but the judge-facing Space uses ZeroGPU because first-click cold-start latency is part of the product experience.
|
| 35 |
+
|
| 36 |
+
Follow-up hardening included:
|
| 37 |
+
|
| 38 |
+
- strict JSON parsing and validation
|
| 39 |
+
- Qwen thinking-token suppression/stripping
|
| 40 |
+
- deterministic heuristic guardrails for obvious scam danger
|
| 41 |
+
- hidden model warmup on Space load
|
| 42 |
+
- Gradio loading and dark-mode fixes for a stable demo surface
|
FIELD_NOTES.md
CHANGED
|
@@ -16,3 +16,36 @@ Current risk: a generic scam detector will not stand out. The product must show
|
|
| 16 |
Current differentiator: Scam DNA, a visual breakdown of scam structure rather than a plain label.
|
| 17 |
|
| 18 |
Built the first serious evaluation spine: 100 synthetic/sanitized scam, suspicious, needs-check, and safe messages. The eval explicitly tests false positives on legitimate-looking messages because user trust is central to the product.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
Current differentiator: Scam DNA, a visual breakdown of scam structure rather than a plain label.
|
| 17 |
|
| 18 |
Built the first serious evaluation spine: 100 synthetic/sanitized scam, suspicious, needs-check, and safe messages. The eval explicitly tests false positives on legitimate-looking messages because user trust is central to the product.
|
| 19 |
+
|
| 20 |
+
## 2026-06-06
|
| 21 |
+
|
| 22 |
+
Runtime decision: deploy with `Qwen/Qwen3-0.6B` through Transformers on ZeroGPU.
|
| 23 |
+
|
| 24 |
+
Why:
|
| 25 |
+
|
| 26 |
+
- The initial CPU GGUF path was useful for local/eval tooling, but cold-start behavior was too risky for a judge-facing Space.
|
| 27 |
+
- A larger GGUF model was not viable for the live demo latency target.
|
| 28 |
+
- ZeroGPU kept the project on a public small model without relying on a commercial LLM API.
|
| 29 |
+
|
| 30 |
+
The product architecture became defense-in-depth:
|
| 31 |
+
|
| 32 |
+
- The model produces structured scam analysis.
|
| 33 |
+
- The parser rejects invalid JSON.
|
| 34 |
+
- The schema validator catches malformed fields.
|
| 35 |
+
- A deterministic heuristic guard prevents obvious high-risk scams from being rendered as safe when the small model under-calls danger.
|
| 36 |
+
|
| 37 |
+
The UI direction shifted from "developer demo" to "calm safety card":
|
| 38 |
+
|
| 39 |
+
- one primary action: check the message
|
| 40 |
+
- warm, readable card layout
|
| 41 |
+
- visible scam breakdown instead of chat
|
| 42 |
+
- copyable message for asking someone trusted
|
| 43 |
+
- session memory that auto-saves checked patterns
|
| 44 |
+
|
| 45 |
+
What was cut:
|
| 46 |
+
|
| 47 |
+
- Fine-tuning. The project does not have enough separate training data to fine-tune responsibly without overfitting.
|
| 48 |
+
- Multi-model switching UI. It adds confusion without helping the person the tool is built for.
|
| 49 |
+
- Additional sponsor-specific runtime pivots. A stable Backyard AI submission matters more than chasing every possible badge.
|
| 50 |
+
|
| 51 |
+
Current remaining field-work need: collect or choose one realistic, sanitized scam story for the demo video. The story should show a person pasting a suspicious message, receiving one safe action, and copying the trusted-person handoff.
|
README.md
CHANGED
|
@@ -26,7 +26,7 @@ Jawbreaker helps a real person pause before clicking, replying, or sending money
|
|
| 26 |
- Event: Hugging Face Build Small Hackathon
|
| 27 |
- Track: Backyard AI
|
| 28 |
- App: Gradio Space under `build-small-hackathon`
|
| 29 |
-
- Status:
|
| 30 |
- Demo video: To be added before submission
|
| 31 |
- Social post: To be added before submission
|
| 32 |
- Public GitHub repo: https://github.com/gowtham0992/jawbreaker
|
|
@@ -51,39 +51,41 @@ Jawbreaker is deliberately narrow. It does not try to be a general assistant or
|
|
| 51 |
3. Give one clear safe action.
|
| 52 |
4. Help the user ask someone they trust.
|
| 53 |
|
| 54 |
-
## Model
|
| 55 |
|
| 56 |
-
The
|
| 57 |
|
| 58 |
-
|
| 59 |
-
- Qwen3-4B GGUF Q4_K_M
|
| 60 |
-
- Qwen3-8B GGUF Q4_K_M
|
| 61 |
-
- MiniCPM4-8B GGUF Q4_K_M
|
| 62 |
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
-
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
-
|
| 70 |
-
-
|
|
|
|
|
|
|
| 71 |
|
| 72 |
## Bonus Badges Targeted
|
| 73 |
|
| 74 |
- Off the Grid: local model inference, no cloud APIs for scam analysis.
|
| 75 |
-
- Llama Champion:
|
| 76 |
- Off-Brand: custom Gradio UI beyond the default look.
|
| 77 |
-
- Well-Tuned:
|
| 78 |
- Sharing is Caring: Codex/agent trace published in this repo.
|
| 79 |
- Field Notes: build report published before submission.
|
| 80 |
|
| 81 |
## Sponsor Eligibility Notes
|
| 82 |
|
| 83 |
- OpenAI Codex Track: public GitHub repo with Codex-attributed commits linked in this README.
|
| 84 |
-
- OpenBMB Awards:
|
| 85 |
-
- Modal Awards:
|
| 86 |
-
- NVIDIA Nemotron Quest:
|
| 87 |
|
| 88 |
## Safety Boundary
|
| 89 |
|
|
|
|
| 26 |
- Event: Hugging Face Build Small Hackathon
|
| 27 |
- Track: Backyard AI
|
| 28 |
- App: Gradio Space under `build-small-hackathon`
|
| 29 |
+
- Status: MVP deployed; demo/story polish in progress
|
| 30 |
- Demo video: To be added before submission
|
| 31 |
- Social post: To be added before submission
|
| 32 |
- Public GitHub repo: https://github.com/gowtham0992/jawbreaker
|
|
|
|
| 51 |
3. Give one clear safe action.
|
| 52 |
4. Help the user ask someone they trust.
|
| 53 |
|
| 54 |
+
## Model Runtime
|
| 55 |
|
| 56 |
+
The deployed Space uses `Qwen/Qwen3-0.6B` through Hugging Face Transformers on ZeroGPU.
|
| 57 |
|
| 58 |
+
Why this model:
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
+
- It is small enough for a responsive safety demo.
|
| 61 |
+
- It keeps the app under the hackathon model-size limit.
|
| 62 |
+
- It avoids external commercial model APIs.
|
| 63 |
+
- It can produce the structured JSON that Jawbreaker validates before rendering.
|
| 64 |
|
| 65 |
+
The local/eval path still supports GGUF models through `llama-cpp-python`, including `unsloth/Qwen3-0.6B-GGUF`. The larger CPU GGUF path was kept as evidence and tooling, not as the deployed demo path, because judge-facing cold-start latency matters more than theoretical runtime purity.
|
| 66 |
+
|
| 67 |
+
Safety architecture:
|
| 68 |
+
|
| 69 |
+
- Model output must parse as JSON and match the required schema.
|
| 70 |
+
- A deterministic heuristic guard catches weak model outputs that under-call obvious danger.
|
| 71 |
+
- The UI always recommends verification through official channels or a known phone number, never the suspicious link or number.
|
| 72 |
+
- Session memory is local to the current Gradio session and helps show repeated scam patterns.
|
| 73 |
|
| 74 |
## Bonus Badges Targeted
|
| 75 |
|
| 76 |
- Off the Grid: local model inference, no cloud APIs for scam analysis.
|
| 77 |
+
- Llama Champion: local/eval tooling supports the llama.cpp runtime.
|
| 78 |
- Off-Brand: custom Gradio UI beyond the default look.
|
| 79 |
+
- Well-Tuned: cut; the project prioritized safe inference, evals, and product quality over a rushed fine-tune.
|
| 80 |
- Sharing is Caring: Codex/agent trace published in this repo.
|
| 81 |
- Field Notes: build report published before submission.
|
| 82 |
|
| 83 |
## Sponsor Eligibility Notes
|
| 84 |
|
| 85 |
- OpenAI Codex Track: public GitHub repo with Codex-attributed commits linked in this README.
|
| 86 |
+
- OpenBMB Awards: not currently targeted; MiniCPM is not the deployed model.
|
| 87 |
+
- Modal Awards: not currently targeted; Modal is not part of the deployment path.
|
| 88 |
+
- NVIDIA Nemotron Quest: not targeted; no NeMoTron model is used.
|
| 89 |
|
| 90 |
## Safety Boundary
|
| 91 |
|
SUBMISSION.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
|
| 3 |
## Required
|
| 4 |
|
| 5 |
-
- [
|
| 6 |
- [ ] Space made public before June 15, 2026
|
| 7 |
- [ ] Demo video linked in Space README
|
| 8 |
- [ ] Social post linked in Space README
|
| 9 |
- [x] Public GitHub repo linked in Space README
|
| 10 |
-
- [
|
| 11 |
|
| 12 |
## Backyard AI Evidence
|
| 13 |
|
|
@@ -18,20 +18,20 @@
|
|
| 18 |
|
| 19 |
## Technical Evidence
|
| 20 |
|
| 21 |
-
- [
|
| 22 |
- [x] Eval set included
|
| 23 |
-
- [
|
| 24 |
-
- [
|
| 25 |
-
- [
|
| 26 |
|
| 27 |
## Bonus Badges
|
| 28 |
|
| 29 |
-
- [ ] Off the Grid
|
| 30 |
-
- [ ] Llama Champion
|
| 31 |
-
- [
|
| 32 |
-
- [
|
| 33 |
-
- [
|
| 34 |
-
- [
|
| 35 |
|
| 36 |
## Codex Track Evidence
|
| 37 |
|
|
@@ -39,4 +39,14 @@
|
|
| 39 |
- [x] GitHub repo is linked from README
|
| 40 |
- [x] Codex build log exists
|
| 41 |
- [x] Agent trace exists
|
| 42 |
-
- [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
## Required
|
| 4 |
|
| 5 |
+
- [x] Gradio Space created under `build-small-hackathon`
|
| 6 |
- [ ] Space made public before June 15, 2026
|
| 7 |
- [ ] Demo video linked in Space README
|
| 8 |
- [ ] Social post linked in Space README
|
| 9 |
- [x] Public GitHub repo linked in Space README
|
| 10 |
+
- [x] Repo includes Codex-attributed feature commits
|
| 11 |
|
| 12 |
## Backyard AI Evidence
|
| 13 |
|
|
|
|
| 18 |
|
| 19 |
## Technical Evidence
|
| 20 |
|
| 21 |
+
- [x] Model name and parameter count documented
|
| 22 |
- [x] Eval set included
|
| 23 |
+
- [x] Runtime decision documented
|
| 24 |
+
- [x] Local inference path documented
|
| 25 |
+
- [x] No commercial cloud API path documented
|
| 26 |
|
| 27 |
## Bonus Badges
|
| 28 |
|
| 29 |
+
- [ ] Off the Grid evidence finalized
|
| 30 |
+
- [ ] Llama Champion evidence finalized
|
| 31 |
+
- [x] Off-Brand
|
| 32 |
+
- [x] Well-Tuned cut from final claims
|
| 33 |
+
- [x] Sharing is Caring
|
| 34 |
+
- [x] Field Notes
|
| 35 |
|
| 36 |
## Codex Track Evidence
|
| 37 |
|
|
|
|
| 39 |
- [x] GitHub repo is linked from README
|
| 40 |
- [x] Codex build log exists
|
| 41 |
- [x] Agent trace exists
|
| 42 |
+
- [x] Meaningful feature commits include Codex co-author trailer
|
| 43 |
+
|
| 44 |
+
## Final Manual Tasks
|
| 45 |
+
|
| 46 |
+
- [ ] Choose one real or realistic sanitized scam message for the primary demo.
|
| 47 |
+
- [ ] Record 60-90 second demo video.
|
| 48 |
+
- [ ] Add demo video link to README.
|
| 49 |
+
- [ ] Draft and publish social post.
|
| 50 |
+
- [ ] Add social post link to README.
|
| 51 |
+
- [ ] Make the Hugging Face Space public.
|
| 52 |
+
- [ ] Final smoke test after making the Space public.
|
eval/README.md
CHANGED
|
@@ -21,6 +21,12 @@ Primary metrics:
|
|
| 21 |
|
| 22 |
The eval intentionally includes legitimate alerts and ordinary messages. A scam detector that calls everything dangerous is not useful for the person Jawbreaker is built to protect.
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
## Running Backends
|
| 25 |
|
| 26 |
Heuristic baseline:
|
|
|
|
| 21 |
|
| 22 |
The eval intentionally includes legitimate alerts and ordinary messages. A scam detector that calls everything dangerous is not useful for the person Jawbreaker is built to protect.
|
| 23 |
|
| 24 |
+
## Current Runtime Decision
|
| 25 |
+
|
| 26 |
+
The deployed Space uses `Qwen/Qwen3-0.6B` through Transformers on ZeroGPU.
|
| 27 |
+
|
| 28 |
+
The GGUF / `llama-cpp-python` path remains available for local eval and badge evidence, but it is not the primary live demo path. The live app also uses a deterministic heuristic guard so an obvious high-risk scam is not rendered as safe if the small model under-calls the risk.
|
| 29 |
+
|
| 30 |
## Running Backends
|
| 31 |
|
| 32 |
Heuristic baseline:
|