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

Added adapt features for v1.8 bundle #494

Merged
merged 10 commits into from Aug 26, 2020
Merged

Conversation

AuroraLauu
Copy link
Collaborator

@AuroraLauu AuroraLauu commented Aug 12, 2020

Template

This is a template. While not all sections are necessary, depending on the size and complexity of the PR,
more information is better.

@ mention of reviewers

@ckcollab @dde6khkg
...

A brief description of the purpose of the changes contained in this PR.

...
Added adaptation of v1.8 bundle.

Issues this PR resolves

...
enabled v18 bundle create competition and submit solution curr

Known issues to be addressed in a separate PR

...

A checklist for hand testing

  • add checklist here

Any relevant files for testing

link to any relevant files (or drag and drop into github)

Misc. comments

...

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • Ready to merge

@AuroraLauu AuroraLauu added this to In progress in Codabench via automation Aug 12, 2020
@@ -92,6 +92,8 @@ def replace_legacy_metadata_command(command, kind, is_scoring, ingestion_only_du
('$hidden', '/app/input/ref'),
('$shared', '/app/shared'),
('$submission_program', '/app/ingested_program'),
('$tmp', '/app/output'),
('$predictions', '/app/input/res' if is_scoring else '/app/output'),
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm, can you add a label to this like # v1.8 compatibility so it's a bit less confusing why there are duplicates?

Determine if the current version is 1.8
:return:
"""
for index, phase in enumerate(phases):
Copy link
Contributor

Choose a reason for hiding this comment

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

more pythonic to use any() probably?

return any(p.get('is_parallel_parent') or p.get('parent_phasenumber') for p in phases)

src/apps/competitions/unpackers/v1.py Show resolved Hide resolved
@AuroraLauu
Copy link
Collaborator Author

@Logan-Ruf
Copy link
Collaborator

Are you still working on getting these tests working?

@Logan-Ruf Logan-Ruf changed the title Added adapt features for v1.8 bundle [WIP]Added adapt features for v1.8 bundle Aug 14, 2020
@ckcollab ckcollab changed the title [WIP]Added adapt features for v1.8 bundle [WIP] Added adapt features for v1.8 bundle Aug 14, 2020
@AuroraLauu
Copy link
Collaborator Author

Are you still working on getting these tests working?

Yes sir

@AuroraLauu AuroraLauu changed the title [WIP] Added adapt features for v1.8 bundle Added adapt features for v1.8 bundle Aug 21, 2020
@AuroraLauu
Copy link
Collaborator Author

@ckcollab hi Eric, CI error is being fixed

@ckcollab
Copy link
Contributor

Is this ready for review now, CI appears to be passing?

@AuroraLauu
Copy link
Collaborator Author

Is this ready for review now, CI appears to be passing?

That's awesome, please review it, tyvm!!!

@dde6khkg dde6khkg merged commit 1206d0e into develop Aug 26, 2020
Codabench automation moved this from In progress to Final review Aug 26, 2020
@Logan-Ruf Logan-Ruf moved this from Final review to Completed in Codabench Sep 18, 2020
@Logan-Ruf Logan-Ruf deleted the codabench/v18_bundle_adapter branch November 12, 2020 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Codabench
  
Completed
Development

Successfully merging this pull request may close these issues.

None yet

4 participants