<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jordan Lozano</title>
    <description>The latest articles on DEV Community by Jordan Lozano (@pikasquik).</description>
    <link>https://dev.to/pikasquik</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4169958%2F0eac3c7c-1e17-41fc-8449-268343f856dd.jpg</url>
      <title>DEV Community: Jordan Lozano</title>
      <link>https://dev.to/pikasquik</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pikasquik"/>
    <language>en</language>
    <item>
      <title>PocketTrail: open-source AI that makes the screen the shortest part of a walk</title>
      <dc:creator>Jordan Lozano</dc:creator>
      <pubDate>Thu, 08 Oct 2026 00:21:26 +0000</pubDate>
      <link>https://dev.to/pikasquik/pockettrail-open-source-ai-that-makes-the-screen-the-shortest-part-of-a-walk-596h</link>
      <guid>https://dev.to/pikasquik/pockettrail-open-source-ai-that-makes-the-screen-the-shortest-part-of-a-walk-596h</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;PocketTrail turns a short activity request into a pocket-sized plan for a nearby green place. It is a new prototype built during Week 1 with Codex. Its purpose is small: choose an activity, find a place that leaves time for the return trip, save a card, then leave the screen.&lt;/p&gt;

&lt;p&gt;The starting pack covers three Paris parks. The starting coordinates are an example, not a detected or claimed personal location. People elsewhere can replace the park pack with places they know and source links.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://prosgames45-del.github.io/pockettrail/" rel="noopener noreferrer"&gt;Try PocketTrail&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftbi47ymnzwznn63s4uqa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftbi47ymnzwznn63s4uqa.png" alt="PocketTrail browser demonstration: a calm activity, return-trip estimate and printable pocket card" width="800" height="890"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A calm activity and a 90-minute budget produced Jardin des Tuileries with approximately 36 minutes each way and 18 minutes outside. A shorter, impossible budget returned an explicit empty result. Download or print the text card and close the tab.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/prosgames45-del/pockettrail" rel="noopener noreferrer"&gt;Source, model, tests and MIT license&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Run locally with &lt;code&gt;python serve.py --port 8801&lt;/code&gt;; run the eleven tests with &lt;code&gt;node --test test.mjs&lt;/code&gt;. There are no third-party dependencies to install.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;A multinomial Naive Bayes model runs in the browser and recognises four English activity intents: slowing down, moving, observing nature and spending time together. Its 16 training phrases are developer-authored and openly included. They are not survey answers or personal histories. Unknown words yield no inferred intent; an explicit activity selection overrides the model.&lt;/p&gt;

&lt;p&gt;The model chooses an intent, not a fictional destination. A separate constraint planner ranks the grounded park pack and reserves time for the return journey. This separation makes the useful part inspectable: the model helps interpret a request, while arithmetic prevents a suggestion that exhausts the time budget before the return.&lt;/p&gt;

&lt;p&gt;The first browser test exposed a practical Windows problem: the standard local server served &lt;code&gt;.mjs&lt;/code&gt; files with the wrong content type. A small server now supplies the correct JavaScript type. The planner also rejects invalid coordinates, impossible budgets and empty place packs. Four independent authored holdout phrases and planner edge cases are covered by eleven passing tests. This is behavioral verification, not evidence of broad real-world accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Every model parameter can be regenerated from the included examples. There is no paid model service, remote inference, account, tracking or model download. After the local files load, planning happens in the browser. A person can change the examples, inspect the weights, replace the venues or override the inference without sending their activity request or coordinates to a model provider.&lt;/p&gt;

&lt;p&gt;A tiny open statistical model is sufficient for this narrow decision. Its limits are visible in the model card. A larger closed API would add a dependency and data transfer without fixing the missing venue information or route accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits and Next Steps
&lt;/h2&gt;

&lt;p&gt;Distances are straight-line estimates with a walking multiplier, not street routes. Opening hours, weather, path accessibility and entrance directions are not verified. Check the venue source before going.&lt;/p&gt;

&lt;p&gt;No outdoor trial, user study or personal experience is claimed. Future work should test consented real use, improve multilingual evaluation and add better grounded venue access and route estimates. For now, the output is a modest plan with visible assumptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Overall challenge. No partner technology category is claimed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI disclosure:&lt;/strong&gt; Codex generated the implementation, tests and this article under Jordan's direction. No human experience or feedback has been fabricated.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
