<?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: Nandini Sivakumar</title>
    <description>The latest articles on DEV Community by Nandini Sivakumar (@njayaba75).</description>
    <link>https://dev.to/njayaba75</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%2F2734298%2Ff8a08cef-db37-49f5-88ed-3b3959fb3390.jpg</url>
      <title>DEV Community: Nandini Sivakumar</title>
      <link>https://dev.to/njayaba75</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/njayaba75"/>
    <language>en</language>
    <item>
      <title>CropShield: Rainfall Reporting for Smart Approvals</title>
      <dc:creator>Nandini Sivakumar</dc:creator>
      <pubDate>Sun, 19 Jan 2025 12:46:54 +0000</pubDate>
      <link>https://dev.to/njayaba75/cropshield-rainfall-reporting-for-smart-approvals-1nbh</link>
      <guid>https://dev.to/njayaba75/cropshield-rainfall-reporting-for-smart-approvals-1nbh</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github"&gt;GitHub Copilot Challenge &lt;/a&gt;: New Beginnings&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;_1. App Overview&lt;br&gt;
The app collects latitude, longitude, and a date as input to provide the rainfall quantity for that location and time. The data can then be used by crop insurance agencies to assess whether funds can be approved based on predefined thresholds or eligibility criteria.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Key Features
User Input:
Latitude &amp;amp; Longitude: Determines the geographic location.
Date: Fetches historical or forecasted rainfall data for the specified date.
Data Output:
Rainfall Quantity: Displays the total rainfall (e.g., in mm or inches) for the location and date.
Recommendation: Suggests whether the conditions meet the eligibility for insurance payouts.&lt;/li&gt;
&lt;li&gt;Functional Workflow
Input Stage:
User enters latitude, longitude, and date.
The app validates inputs (e.g., correct formats, valid date ranges).
Processing Stage:
Rainfall Data Retrieval:
Fetch rainfall data using APIs (e.g., OpenWeatherMap, NOAA, or Climate Data APIs).
Parse and process data for the given inputs.
Output Stage:
User receives a detailed report:
Rainfall quantity.
Date and location._&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&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.amazonaws.com%2Fuploads%2Farticles%2Face1y0zt0t4jy07vl27y.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.amazonaws.com%2Fuploads%2Farticles%2Face1y0zt0t4jy07vl27y.png" alt="Image description" width="800" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Repo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/FTNJAYABA/rainfall_weather_insurance.git" rel="noopener noreferrer"&gt;https://github.com/FTNJAYABA/rainfall_weather_insurance.git&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Copilot Experience
&lt;/h2&gt;

&lt;p&gt;_Overview of Copilot Usage&lt;br&gt;
I used GitHub Copilot throughout the development of my rainfall app, leveraging its prompts, autocomplete, and chat features to streamline the process from prototyping to completion."&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Prompts&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Used comments like # Fetch rainfall data using latitude, longitude, and date to generate boilerplate code for API calls and business logic.&lt;br&gt;
Saved time by quickly producing reusable code snippets.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Autocomplete&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Assisted in completing API request structures, CLI inputs, and formatting output.&lt;br&gt;
Example: Automatically filled parameters for requests.get() based on context.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Edits and Refinements&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Reviewed and tweaked Copilot’s suggestions to handle edge cases (e.g., error handling for API calls).&lt;br&gt;
Combined Copilot's logic with manual adjustments for custom business rules.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Chat and Debugging&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Asked Copilot for solutions, like input validation for latitude/longitude and data comparison logic.&lt;br&gt;
Its suggestions accelerated problem-solving and debugging._&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Models
&lt;/h2&gt;

&lt;p&gt;Yes, I used GitHub Copilot to assist with prototyping LLM capabilities in my rainfall app. Here's how:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Code Generation with Prompts&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I wrote descriptive comments like # Fetch rainfall data using latitude, longitude, and date to guide Copilot in generating API call logic and data validation.&lt;br&gt;
This streamlined the process of building key functionalities like fetching and processing weather data.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Autocomplete and Refinements&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Copilot’s autocomplete feature helped draft functions and complete logic, such as comparing rainfall data to thresholds for eligibility.&lt;br&gt;
I reviewed and refined these suggestions to align with the app’s specific requirements.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Leveraging Chat for Contextual Help&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Used Copilot’s chat feature to debug issues and get ideas for enhancing functionality, such as validating user inputs or handling API errors.&lt;br&gt;
It also suggested reusable templates for CLI-based outputs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Exploring LLM Integration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Used Copilot to prototype logic for integrating LLM APIs (like OpenAI) to generate explanations for eligibility decisions. For example, it suggested prompts like:&lt;br&gt;
Explain why rainfall of {value} mm meets eligibility criteria._&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;_Copilot saved significant time by automating repetitive tasks and providing context-aware suggestions. While some manual refinements were needed, it proved to be an invaluable coding assistant.&lt;br&gt;
_&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
