Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prediction of VO2 Max Using FTP Values #88

Closed
wants to merge 5 commits into from

Conversation

charuhasa239
Copy link
Collaborator

  • Implemented predictive models (Linear, Polynomial, SVR) to estimate VO2 Max using FTP values.
  • Conducted performance comparison for Ride and Run activities, identifying Polynomial Regression as the best fit.
  • Cleaned data and visualized model predictions to validate accuracy.
  • Results highlight a strong correlation between FTP and VO2 Max for accurate predictions.

@AmirZandiehprojects
Copy link
Contributor

Looks good !

Copy link

🔒 Security Scan Results

🔒 Security Scan Results
=========================

Bandit Scan Results:
-------------------
Run started:2024-12-10 07:59:22.987044

Test results:
>> Issue: [B201:flask_debug_true] A Flask app appears to be run with debug=True, which exposes the Werkzeug debugger and allows the execution of arbitrary code.
   Severity: High   Confidence: Medium
   CWE: CWE-94 (https://cwe.mitre.org/data/definitions/94.html)
   More Info: https://bandit.readthedocs.io/en/1.8.0/plugins/b201_flask_debug_true.html
   Location: ./Cycling Analysis/test_ftp_predictor_api.py:86:4
85	if __name__ == '__main__':
86	    app.run(debug=True)

--------------------------------------------------
>> Issue: [B501:request_with_no_cert_validation] Call to requests with verify=False disabling SSL certificate checks, security issue.
   Severity: High   Confidence: High
   CWE: CWE-295 (https://cwe.mitre.org/data/definitions/295.html)
   More Info: https://bandit.readthedocs.io/en/1.8.0/plugins/b501_request_with_no_cert_validation.html
   Location: ./Cycling Analysis/test_model_api.py:14:15
13	    # Sending a POST request to the Flask API
14	    response = requests.post(url, json=payload, verify=False)
15	    

--------------------------------------------------
>> Issue: [B113:request_without_timeout] Call to requests without timeout
   Severity: Medium   Confidence: Low
   CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html)
   More Info: https://bandit.readthedocs.io/en/1.8.0/plugins/b113_request_without_timeout.html
   Location: ./Cycling Analysis/test_model_api.py:14:15
13	    # Sending a POST request to the Flask API
14	    response = requests.post(url, json=payload, verify=False)
15	    

--------------------------------------------------
>> Issue: [B201:flask_debug_true] A Flask app appears to be run with debug=True, which exposes the Werkzeug debugger and allows the execution of arbitrary code.
   Severity: High   Confidence: Medium
   CWE: CWE-94 (https://cwe.mitre.org/data/definitions/94.html)
   More Info: https://bandit.readthedocs.io/en/1.8.0/plugins/b201_flask_debug_true.html
   Location: ./DataVisualisationPracticeWebDev/app.py:52:4
51	if __name__ == '__main__':
52	    app.run(debug=True)

--------------------------------------------------

Code scanned:
	Total lines of code: 1314
	Total lines skipped (#nosec): 0
	Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
	Total issues (by severity):
		Undefined: 0
		Low: 0
		Medium: 1
		High: 3
	Total issues (by confidence):
		Undefined: 0
		Low: 1
		Medium: 2
		High: 1
Files skipped (0):

⛔️ Critical vulnerabilities detected. Please review and address these security issues before merging.

Next Steps:

  1. Review each critical finding above and fix them according to OWASP top 10 mitigations.

auto-merge was automatically disabled December 10, 2024 08:39

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants