User Tools

Site Tools


documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation [2024/10/20 03:37] karthikadocumentation [2024/12/14 04:34] (current) karthika
Line 1: Line 1:
 +**A P Updates 12/8/24**
 +===== Current process for creating models =====
 +
 +  * Use [[https://github.com/jtlicardo/bpmn-assistant|bpmn-assistant]] to design models (I've tested claude and gpt with decent results, and the students have confirmed gemini is working)
 +  * Embed the downloaded XML in the dokuwiki wiki (here) using the BPMN tool in the WYSIWYG editor
 +  * Discuss as needed then port over to [[https://www.spiffworkflow.org/|Spiff Workflow]] where it can be used and reviewed and put in to containers like [[https://lexi-jbirddog.wasmer.app/|How to start a business in Charlottesville]]
 +
 +
 +
 +===== Review of legal data pulls =====
 +
 +
   * get data from will's code for virginia   * get data from will's code for virginia
   * create postgres for database layer   * create postgres for database layer
   * look at process extraction libraries   * look at process extraction libraries
 +
 +[[Hierarchy]]
 +
 +
 +[[Questions and BPMN Models]]
 +
 +
  
 **K.S. Updates 10/19/24** **K.S. Updates 10/19/24**
Line 7: Line 26:
 Will's code for Virginia converted to .txt files. Of 6 files, 4 were uploaded to Dify_.  Will's code for Virginia converted to .txt files. Of 6 files, 4 were uploaded to Dify_. 
  
-Two prompts were created to either create a list of laws and described processes or to create a hierarchy of items within the text file. Results for both are presented as a whole below. +Three prompts were created for the following :  
 +   - Create a list of laws in a text file and describe processes 
 +   - Create a hierarchy of items within the text file.  
 +   - Create a detailed process read out based on one law name. 
 + 
 + 
 +Results are presented as a whole below. 
  
 **PROMPT 1:** **PROMPT 1:**
Line 181: Line 206:
         summary: "Step 1: Outline the structure of the educational system in Virginia. Step 2: Establish governance rules for public schools."         summary: "Step 1: Outline the structure of the educational system in Virginia. Step 2: Establish governance rules for public schools."
 This output provides a structured overview of selected laws from the contents of the specified file. Each law includes its name, category, actions, and a step-by-step summary as instructed. This output provides a structured overview of selected laws from the contents of the specified file. Each law includes its name, category, actions, and a step-by-step summary as instructed.
 +
 +
 +Laws:
 +Law:
 +Name: Virginia Code Title 18.2 - Crimes and Offenses Generally
 +Category: Criminal Law
 +Actions: Define criminal offenses, Establish penalties for offenses, Outline defenses
 +Summary: Step 1: Define various criminal offenses in the Commonwealth. Step 2: Establish appropriate penalties for those offenses. Step 3: Outline available defenses for individuals accused of crimes.
 +
 +Law:
 +    Name: Virginia Code Title 54.1 - Professions and Occupations
 +    Category: Professional Regulation
 +    Actions: License professionals, Set professional standards, Regulate professional conduct
 +    Summary: Step 1: Establish licensure requirements for various professions. Step 2: Set standards to ensure professional competency. Step 3: Regulate conduct to maintain public trust in professional services.
 +
 +Law:
 +    Name: Virginia Code Title 62.1 - Waters of the Commonwealth
 +    Category: Environmental Law
 +    Actions: Manage water resources, Protect water quality, Regulate water usage
 +    Summary: Step 1: Define policies for the management of water resources in Virginia. Step 2: Implement measures to protect water quality. Step 3: Regulate usage to ensure sustainable water supply.
 +
 +Law:
 +    Name: Virginia Code Title 16.1 - Courts Not of Record
 +    Category: Judicial Procedure
 +    Actions: Establish procedures for handling minor cases, Define jurisdiction of courts, Set rules for appeals
 +    Summary: Step 1: Establish procedures for the handling of minor civil and criminal cases. Step 2: Define the jurisdiction of courts not of record. Step 3: Set rules and procedures for appeals from these courts.
 +
 +Law:
 +    Name: Virginia Code Title 30 - General Assembly
 +    Category: Legislative Procedure
 +    Actions: Outline legislative processes, Define roles of lawmakers, Set rules for legislative sessions
 +    Summary: Step 1: Outline the processes through which laws are proposed and enacted. Step 2: Define the responsibilities and roles of members of the General Assembly. Step 3: Set rules for the organization and conduct of legislative sessions.
 +
  
  
Line 217: Line 275:
 </example> </example>
 ``` ```
- 
  
 _________________ _________________
Line 302: Line 359:
         * Reporting Requirements         * Reporting Requirements
         * Audits         * Audits
 +
 +Section 3
 +Virginia Statutes
 +
 +    Administrative Code
 +    Family Law
 +        Marriage
 +        Child Custody
 +        [[Divorce]]
 +    Property Law
 +        Real Estate
 +        Leases
 +        Tenant Rights
 +    Criminal Law
 +        Felonies
 +        Misdemeanors
 +        Sentencing Guidelines
 +    Business Law
 +        Corporations
 +        Limited Liability Companies
 +        Contracts
 +    Civil Rights
 +        Employment Discrimination
 +        Voting Rights
 +        Housing Discrimination
 +    Environmental Law
 +        Conservation
 +        Pollution Control
 +        Land Use
 +    Education Law
 +        School Regulations
 +        Special Education
 +        Teacher Certification
 +    Health Law
 +        Patient Rights
 +        Medical Malpractice
 +        Public Health Regulations
 +
 +Section 4
 +
 +Virginia Statutes
 +
 +    Civil Law
 +        Contracts
 +        Torts
 +        Property
 +            Real Property
 +            Personal Property
 +    Criminal Law
 +        Felonies
 +        Misdemeanors
 +        Defenses
 +            Insanity
 +            Self-Defense
 +    Family Law
 +        Marriage
 +        Divorce
 +        Child Custody
 +    Administrative Law
 +        Regulatory Agencies
 +        Licensing
 +        Hearings
 +    Employment Law
 +        Employee Rights
 +        Workplace Safety
 +        Discrimination
 +    Environmental Law
 +        Conservation
 +        Pollution Control
 +        Wildlife Protection
 +    Business Law
 +        Corporations
 +        Partnerships
 +        Intellectual Property
 +    Education Law
 +        Public School System
 +        Higher Education
 +        Special Education
 +
  
 Section 5 Section 5
Line 392: Line 528:
  
  
 +**PROMPT 3** 
 +
 +``` xml
 +<instruction>
 +Please follow the steps below to generate a detailed list of processes described in the specified law:
 +
 +1. Identify the law name provided in the input variable {{law_name}}.
 +2. Research and analyze the law to extract all relevant processes that individuals can engage with.
 +3. Organize the processes into a clear and detailed list format, ensuring that each process is described thoroughly.
 +4. Ensure that the output is comprehensive enough for a person to understand exactly what actions they can take with respect to this law.
 +5. Do not include any XML tags in the output; it should be plain text.
 +
 +The output should be a detailed list of processes related to the law specified in {{law_name}}.
 +</instruction>
 +
 +<input>
 +<law_name>{{law_name}}</law_name>
 +</input>
 +
 +<output>
 +<process_list>
 +{{process_list}}
 +</process_list>
 +</output>
 +
 +<example>
 +Input: 
 +<law_name>Environmental Protection Act</law_name>
 +
 +Output:
 +1. Submit an application for an environmental permit.
 +2. Participate in public consultations regarding environmental assessments.
 +3. Report any violations of environmental regulations to the authorities.
 +4. Engage in community clean-up initiatives supported by the act.
 +</example>
 +```
 +
 +Virginia Code § 20-91
 +
 +  - Initiate a Divorce Proceeding: Individuals seeking a divorce can file a complaint in the circuit court of their jurisdiction. This involves filling out the necessary forms and providing reasons for the divorce, including any evidence of fault if applicable.
 +  - File for Child Custody and Support: Alongside divorce proceedings, individuals may file requests for child custody and child support. This entails submitting detailed forms that outline custody preferences, financial circumstances, and the needs of the child or children.
 +  - Obtain a Spousal Support Order: A spouse can request spousal support (also known as alimony) during divorce proceedings. This requires submitting a petition to the court, which includes financial disclosures and evidence justifying the need for support.
 +  - Petition for Equitable Distribution of Marital Property: Individuals have the right to petition the court for an equitable distribution of marital property. This involves disclosing all assets and debts acquired during the marriage, along with arguing for a fair division based on various factors considered by the court.
 +  - Respond to Divorce Petition: If served with a divorce petition, individuals must respond within a set time frame. This includes filing a counter-petition or an answer, detailing their stance on the claims made by the other party.
 +  - Attend Mediation or Settlement Conferences: Courts may mandate mediation as a way to resolve disputes related to divorce, custody, or support amicably. Participants must be prepared to negotiate potential agreements and work with a neutral mediator.
 +  - Request Modification of Existing Orders: Post-divorce, if circumstances change (e.g., loss of income, change in living arrangements), individuals can file a motion to modify child support, custody, or spousal support orders. This will require filing forms that demonstrate a significant change in circumstances.
 +  - Enforce Custody and Support Orders: If a party fails to adhere to custody or support orders, individuals may file a motion for enforcement in court. This involves documenting instances of non-compliance and seeking remedies, which may include wage garnishment or modification of custody.
 +  - Seek Temporary Orders: If immediate needs arise, such as for temporary child support or custody during divorce proceedings, individuals can file a motion for temporary orders, allowing the court to intervene before finalizing the divorce.
 +  - Appeal a Court Decision: If a party believes that the court's decision was unfair or erroneous, individuals have the right to appeal the decision to a higher court. This involves filing specific legal forms and providing grounds for the appeal based on legal errors.
 +
 +Virginia Fair Housing Law
 +  - File a Complaint: Individuals who believe they have experienced housing discrimination can file a complaint with the Virginia Office of Fair Housing. This complaint can be filed online or through a mailed form and must typically include specific details about the incident.
 +  - Seek Mediation: After filing a complaint, individuals may opt for mediation to resolve the issue with the housing provider. This process involves bringing both parties together to discuss and hopefully reach a mutually agreeable solution.
 +  - Request an Investigation: If mediation is unsuccessful or not chosen, individuals can request an investigation by the Virginia Fair Housing Office. This process involves a thorough examination of the complaint, which includes gathering evidence and testimonials from involved parties.
 +  - Participate in a Hearing: If the investigation finds reasonable cause to believe discrimination occurred, individuals can participate in a hearing before a qualified administrative law judge. This is a formal process where both parties may present evidence and witnesses.
 +  -Seek Remedies: If a violation is established, individuals may be entitled to remedies which can include monetary damages, changes in housing practices, and other equitable relief aimed at correcting the discriminatory actions.
 +  - Obtain Legal Assistance: Individuals may also seek legal assistance from private attorneys or non-profit organizations specializing in fair housing law to help them navigate the processes and represent them during hearings or negotiations.
 +  -File a Lawsuit: In addition to or instead of pursuing state-level remedies, individuals can file a lawsuit in state or federal court if they believe they have been discriminated against under the Fair Housing Act. This option should ideally be discussed with an attorney.
 +  - Engage in Educational Outreach: Individuals can also participate in educational programs and workshops related to fair housing laws, which can empower them and others to understand their rights and the importance of fair housing practices.
 +  - Report Violations: If individuals witness or know of violations of the Virginia Fair Housing Law by landlords or other housing providers, they can report these violations to the Virginia Fair Housing Office or local housing authorities to initiate investigations or enforcement actions.
 +  - Connect with Advocacy Groups: Individuals can connect with local or state fair housing advocacy groups that provide resources, support, and advocacy for victims of housing discrimination. These groups can offer guidance and help individuals understand their rights under the law.
  
documentation.1729395473.txt.gz · Last modified: 2024/10/20 03:37 by karthika