Comments (2)
was able to resolve the by following responses after this post:
from code_contests.
Resolution:
#12 (comment)
Now getting the correct output:
`bazel run -c opt execution:solve_example -- --valid_path=/tmp/dm-code_contests/code_contests_valid.riegeli
DEBUG: Rule 'com_github_grpc_grpc' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "96b73272eadc01afb5fb45b92b408c47e4387274", shallow_since = "1624063996 -0700" and dropping ["tag"]
DEBUG: Repository com_github_grpc_grpc instantiated at:
/home/gitlab/code_contests/WORKSPACE:4:15: in
Repository rule git_repository defined at:
/home/gitlab/.cache/bazel/_bazel_gitlab/a7d5da11616e839ae2061597598e3127/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
DEBUG: Rule 'com_google_sandboxed_api' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1645093884 -0800"
DEBUG: Repository com_google_sandboxed_api instantiated at:
/home/gitlab/code_contests/WORKSPACE:109:6: in
/home/gitlab/.cache/bazel/_bazel_gitlab/a7d5da11616e839ae2061597598e3127/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule git_repository defined at:
/home/gitlab/.cache/bazel/_bazel_gitlab/a7d5da11616e839ae2061597598e3127/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
DEBUG: Rule 'com_google_protobuf' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "cc7b1b53234cd7a8f50d90ac3933b240dcf4cd97", shallow_since = "1641866895 -0800" and dropping ["tag"]
DEBUG: Repository com_google_protobuf instantiated at:
/home/gitlab/code_contests/WORKSPACE:22:15: in
Repository rule git_repository defined at:
/home/gitlab/.cache/bazel/_bazel_gitlab/a7d5da11616e839ae2061597598e3127/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
DEBUG: Rule 'com_google_absl' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "215105818dfde3174fe799600bb0f3cae233d0bf", shallow_since = "1635953174 -0400" and dropping ["tag"]
DEBUG: Repository com_google_absl instantiated at:
/home/gitlab/code_contests/WORKSPACE:28:15: in
Repository rule git_repository defined at:
/home/gitlab/.cache/bazel/_bazel_gitlab/a7d5da11616e839ae2061597598e3127/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "76ef44fdb8aaa8d5c607721ffe1b1cbf1e8f08dd", shallow_since = "1635214215 -0700" and dropping ["tag"]
DEBUG: Repository rules_python instantiated at:
/home/gitlab/code_contests/WORKSPACE:14:15: in
Repository rule git_repository defined at:
/home/gitlab/.cache/bazel/_bazel_gitlab/a7d5da11616e839ae2061597598e3127/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
INFO: Analyzed target //execution:solve_example (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //execution:solve_example up-to-date:
bazel-bin/execution/solve_example
INFO: Elapsed time: 0.216s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
We will try to solve "Gregor and Cryptography":
https://codeforces.com/problemset/problem/1549/A
We will run:
- A program that does not compile.
- A program that runs successfully, but gives the wrong answer sometimes.
- A correct solution.
An invalid program is reported as not compiling:
[global_forkclient.cc : 122] RAW: Starting global forkserver
Compilation failed
The bad solution passes a few tests but then fails.
Because we set stop_on_first_failure to True, we stop once we see a failure.
We are running on 4 threads, so it's possible that more than one failure occurs
before all threads stop.
Compilation succeeded
Test 0 passed.
Test 1 passed.
Test 2 failed.
Test 3 passed.
Test 4 failed.
Test 5 passed.
Test 6 failed.
Test 7 did not run.
Test 8 did not run.
Test 9 did not run.
The good solution passes all tests.
Compilation succeeded
Test 0 passed.
Test 1 passed.
Test 2 passed.
Test 3 passed.
Test 4 passed.
Test 5 passed.
Test 6 passed.
Test 7 passed.
Test 8 passed.
Test 9 passed.`
from code_contests.
Related Issues (20)
- Is there any plan to release C++ test sandbox? HOT 2
- Failed: Gregor and Cryptography problem not found. Did you pass the validation dataset? HOT 2
- Auto-Configuration Error when run Bazel HOT 3
- Some test solutions do not return outputs in sandbox running, while they output successfully on CLI. HOT 1
- bazel building error on grpc dependency when using Python 3.10 HOT 2
- Compilation error when using gcc versions {7,9,10,11} HOT 1
- Compilation error when using gcc versions {7,9} HOT 1
- Problem with getting data from riegeli files when not using bazel and trying to run print_names_and_sources.py directly HOT 2
- License of data usage HOT 1
- Can't compile with clang 14 and gcc 12 HOT 1
- AlphaCode Model Implementation Questions
- Executing and evaluating solutions 3x Compilation failure with many python versions HOT 2
- Executing fail in linux docker HOT 1
- Details of codeforces generated tests HOT 1
- How to compile C++ programs?
- Dataset Unavailable HOT 1
- Dataset Update. AlphaCode 2 HOT 2
- Validation setup HOT 1
- zlib checksum error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code_contests.