Skip to content

Zip upload#288

Closed
shreymodi1 wants to merge 4 commits intomainfrom
zip-upload
Closed

Zip upload#288
shreymodi1 wants to merge 4 commits intomainfrom
zip-upload

Conversation

@shreymodi1
Copy link
Copy Markdown
Contributor


name: Pull Request
about: Propose changes to the codebase
title: "Brief description of changes"
labels: ''
assignees: ''


Description

Please include a summary of the change and which issue is fixed or feature is implemented. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)
Implements # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Refactoring/Code cleanup
  • Build/CI/CD related changes
  • Other (please describe):

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

  • Test A
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project (ran black ., isort ., flake8 .)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Screenshots (if applicable)

If applicable, add screenshots to help showcase your changes.

Additional context

Add any other context about the PR here.

response = requests.post(base_url, json=payload_data, headers=headers)
except requests.exceptions.RequestException:
response = requests.post(base_url, json=payload_data, headers=headers)
response = requests.post(base_url_2, json=payload_data, headers=headers)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Evaluator Creation API Endpoint Mismatch

When force=True, if the initial evaluator existence check fails, the fallback POST request for evaluator creation incorrectly uses the V1 API endpoint. This is inconsistent with other creation paths and sends a V2-designed payload to a V1 endpoint, which may lead to API errors.

Fix in Cursor Fix in Web

logger.info(f"base_url: {base_url_2}, payload_data: {payload_data}, headers: {headers}")
response = requests.post(base_url, json=payload_data, headers=headers)
else:
print(f"base_url: {base_url_2}, payload_data: {payload_data}, headers: {headers}")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Debug Print Statement Found

A debug print() statement was committed, which is inconsistent with the codebase's standard logging practices.

Fix in Cursor Fix in Web

@shreymodi1 shreymodi1 closed this Oct 23, 2025
@shreymodi1 shreymodi1 deleted the zip-upload branch October 23, 2025 00:24
@shreymodi1 shreymodi1 restored the zip-upload branch October 23, 2025 22:56
@shreymodi1 shreymodi1 deleted the zip-upload branch October 23, 2025 22:58
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