{"id":18250375,"url":"https://github.com/qtle3/retail_returns","last_synced_at":"2025-04-08T20:27:22.855Z","repository":{"id":252326937,"uuid":"839133554","full_name":"qtle3/retail_returns","owner":"qtle3","description":"This Python program helps determine whether an item is eligible for return at a retail store. It checks various criteria such as possession of a receipt, the time since purchase, whether the item is a food product, the condition of the item, and whether the item was marked as a final sale.","archived":false,"fork":false,"pushed_at":"2024-08-10T04:23:18.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T16:01:52.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qtle3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-07T03:22:56.000Z","updated_at":"2024-08-11T00:00:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ca8feb6-5d77-4a57-93be-f5ead1aeb11e","html_url":"https://github.com/qtle3/retail_returns","commit_stats":null,"previous_names":["qtle3/retail_returns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fretail_returns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fretail_returns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fretail_returns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qtle3%2Fretail_returns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qtle3","download_url":"https://codeload.github.com/qtle3/retail_returns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247921484,"owners_count":21018599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T09:44:30.683Z","updated_at":"2025-04-08T20:27:22.834Z","avatar_url":"https://github.com/qtle3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retail Store Return Policy Checker\n\nThis Python program helps determine whether an item is eligible for return at a retail store. It checks various criteria such as possession of a receipt, the time since purchase, whether the item is a food product, the condition of the item, and whether the item was marked as a final sale. The program guides the user through a series of questions and provides a decision on the return eligibility based on predefined store policies.\n\n## Key Concepts Covered\n\n- **User Input Handling**: The program utilizes functions to capture and validate user inputs, ensuring correct data types and responses (e.g., yes/no questions).\n  \n- **Conditional Logic**: It uses conditional statements (`if-else`) to evaluate multiple factors in determining the eligibility of the item for return.\n  \n- **Logging**: The program implements logging to track the flow and decisions made during the execution, which is useful for debugging and auditing.\n  \n- **Modularity**: The program is broken down into smaller, reusable functions (`yes_no_input`, `numeric_input`, and `log_and_print`), promoting code reuse and readability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtle3%2Fretail_returns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqtle3%2Fretail_returns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtle3%2Fretail_returns/lists"}