leap
Lifetime Exposures와 Asthma 결과 예측(LEAP) 모델용 파이썬 패키지
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기A cute, guilt-free added-sugar tracker for people who are prediabetic or not sure: a personal, sourced daily limit, and every treat's number traced to its Nutrition Facts label. Built for Devpost's Build With AI: Basics.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A cute, guilt-free added-sugar tracker. Answer two questions, get a personal daily added-sugar limit with its source, then tap treats to see how close you are. Honey the bear keeps you company, and nothing you enter leaves your browser.
Built as a small proof of concept for Devpost's Build With AI: Basics hackathon with the Devpost Learn skill pack, following its plan-first workflow (scope → PRD → spec → build). The planning documents are in devpost/: scope.md, prd.md, spec.md, the build checklist.md, and a take-home app map. skills-lock.json records which skill-pack versions were used.README 전문 보기 ↗A cute, guilt-free added-sugar tracker. Answer two questions, get a personal daily added-sugar limit with its source, then tap treats to see how close you are. Honey the bear keeps you company, and nothing you enter leaves your browser.
Built as a small proof of concept for Devpost's Build With AI: Basics hackathon with the Devpost Learn skill pack, following its plan-first workflow (scope → PRD → spec → build). The planning documents are in devpost/: scope.md, prd.md, spec.md, the build checklist.md, and a take-home app map. skills-lock.json records which skill-pack versions were used.
Try it: https://rachelselbrede.github.io/sugar-tracker/ · Code: https://github.com/rachelselbrede/sugar-tracker
Someone who is prediabetic, or isn't sure, and wants to notice how much added sugar they eat without a diet app that feels like calorie-shaming. Anyone can use it, but the default limits and the wording are tuned for them.
Why it matters: more than 2 in 5 American adults have prediabetes, which raises the risk of type 2 diabetes, heart disease, and stroke (CDC). US adults average about 17 teaspoons of added sugar a day, roughly 68 g at 4 g per teaspoon, and the leading sources are sugar-sweetened beverages, desserts, and sweet snacks (CDC). The American Heart Association's limit for women is 25 g. The app counts added sugar only, because that is what the public limits are written about, and because it's the sugar you can actually choose.
devpost/checklist.md > Revisions).No build step and nothing to install. Serve the folder, then open the page:
python3 -m http.server 8000
Then visit http://localhost:8000. Opening index.html directly won't work, because browsers block JavaScript modules on file://.
npm test
This uses Node's built-in test runner and installs nothing. The tests cover the limit table, the scale math, goal validation, the day key, safe storage, a check that every built-in treat has a positive added-sugar value, a serving, a valid basis, an https source, and a check date, plus validation and safe storage of treats you add yourself.
Daily limits (added sugar per day):
| Profile | Limit | Source |
|---|---|---|
| Prediabetic, or not sure | 25 g, labeled as general guidance | There is no official added-sugar number for prediabetes. This uses the careful end of public guidance: the WHO's conditional target of under 5% of energy and the AHA's limit for women. |
| Not prediabetic, female | 25 g | American Heart Association |
| Not prediabetic, male | 36 g | American Heart Association |
| Not prediabetic, prefer not to say | 25 g | American Heart Association (the more careful limit) |
Treats. A treat only goes on the built-in list if its added sugar is known, not guessed. Each value is the "Includes Xg Added Sugars" line from the product's US Nutrition Facts panel, read from a grocery-store product page that shows the full panel, for the serving shown. Items whose labels only give total sugar and contain milk, fruit, or juice were left out. The list and its source links live in js/treats.js, and the research notes are in devpost/sources.md. Treats you add under My treats come from your own label and are stored only in your browser.
Product names appear only to identify which Nutrition Facts panel a number came from. No logos or brand assets are used.
Treat Yourself is general guidance, not medical advice. Talk to your clinician about what's right for you.
Plain HTML, CSS, and JavaScript modules, with no framework and no dependencies.
index.html — both screens (Profile and Tracker), the goal panel, the source popup, the add-your-own-treat form, and the footerstyles.css — the pastel candy-shop look, layout, and reduced-motion fallbackjs/app.js — wires the page together: loads saved state, renders, handles taps, checks for a new dayjs/logic.js — the rules, as pure functions: recommendedLimit, scaleState, isValidGoal, todayKey, customTreatErrorsjs/storage.js — safe localStorage reads and writes (ty.profile, ty.goal, ty.log, ty.custom) that never crash on blocked or corrupt datajs/treats.js — the treat list with added sugar, serving, basis, and source linkjs/honey.js — Honey the bear, drawn as SVG in four moodstests/ — the Node testsHoney the character comes from our earlier Treat Yourself project and was redrawn for this build; no earlier code was reused. The fonts (Fredoka, Nunito, Pacifico) and the pastel palette carry over as the design direction.
MIT. See LICENSE.