SA1013 misfires for object initializer in interpolated string

Code like
var x = 1;
var y = 2;
var z = 3;
                                                v
var formatedString = $"Something {new { x, y, z }}";

triggers "SA1013 Closing brace should be followed by a space", but adding space after the } doesn't look right and also triggers "SA1013 Closing brace should not be preceded by a space" and the description for SA1013 states

A closing brace should always be followed by a single space, unless it is the last character on the line, or unless it is followed by a closing parenthesis, a comma, or a semicolon.

StyleCop Version: 1.2.0-beta.406

I think the correct formatting is:
var formatedString = $"Something { new { x, y, z } }";

I think the correct formatting is:
var formatedString = $"Something { new { x, y, z } }";

I disagree, you would also not write
Foo( new { x, y, z} );

or
$"Something { x }"

Also code like
$"{new object()}"

does not trigger SA1013, but
                        SA1013
                 SA1009 |
                      | |
                      v v
var x = $"{new object() }";

triggers SA1009 and SA1013

I disagree, you would also not write
Foo( new { x, y, z} );

I would write:
Foo(new { x, y, z } );

or
$"Something { x }"

if I want the space yes, otherwise;
$"Something{ x }"

or
$"Something{x}"

Also code like
$"{new object()}"

Inside a $"" is not mandatory, since you use the same rule on the left and on the right.

does not trigger SA1013, but
                        SA1013
                 SA1009 |
                      | |
                      v v
var x = $"{new object() }";

triggers SA1009 and SA1013

It must use the same rule on both side.
var x = $"{new object()}";

or
var x = $"{ new object() }";

From the perspective of StyleCop Analyzers, the expected formatting here is:
var formatedString = $"Something {new { x, y, z }}";


blackify setup.py

minor PR
implementing code black formatting in setup.py

Pull Request Test Coverage Report for Build 1714

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.854%

Totals

Change from base Build 1713:
0.0%

Covered Lines:
1354

Relevant Lines:
1368

💛  - Coveralls


Segfault in x64asm::Linker::link

#0  0x00000000006c668d in x64asm::Linker::link(x64asm::Function&) ()
#1  0x000000000046a71c in stoke::Sandbox::compile(stoke::Cfg const&) ()
#2  0x0000000000456334 in stoke::CostFunction::set_target(stoke::Cfg const&, bool, bool) ()
#3  0x0000000000430faa in stoke::CostFunction::CostFunction(stoke::Sandbox*) ()
#4  0x000000000040bf75 in main ()
https://people.xiph.org/~tterribe/daala/check_partition2.tar.gz contains source code, binary, extracted .s files, testcases, and config files.
gdb --args ./stoke_search --config search.conf
to reproduce.

Better backtrace (with make debug):
#0  0x00000000007127fd in x64asm::Linker::link(x64asm::Function&) ()
#1  0x0000000000497162 in stoke::Sandbox::compile (this=0x7fffffffc200,
cfg=...) at src/sandbox/sandbox.cc:101
#2  0x000000000048aa41 in stoke::Sandbox::run (this=0x7fffffffc200, cfg=...)
at ././src/sandbox/sandbox.h:114
#3  0x000000000048768b in stoke::CostFunction::set_target (
this=0x7fffffffb150, target=..., stack_out=false, heap_out=false)
at src/cost/cost_function.cc:49
#4  0x000000000041c409 in stoke::CostFunction::CostFunction (
this=0x7fffffffb150, sb=0x7fffffffc200) at ././src/cost/cost_function.h:56
#5  0x000000000041c830 in stoke::CostFunctionGadget::CostFunctionGadget (
this=0x7fffffffb150, target=..., sb=0x7fffffffc200)
at ././tools/gadgets/cost_function.h:30
#6  0x0000000000411500 in main (argc=3, argv=0x7fffffffd928)
at tools/apps/stoke_search.cc:198

I haven't looked closely or fully reproduced this yet, but I ran your
files with a more recent version of stoke and it reported that %esi
isn't in the def-in set, but it should be.  Could you try adding %esi to
the list and seeing if it works?  Either way it's a bug, but if that's
the cause it will help us track things down.
Berkeley
On 05/27/2015 04:03 PM, tterribe wrote:

Better backtrace (with make debug):
#0 0x00000000007127fd in x64asm::Linker::link(x64asm::Function&) ()
#1 https://github.com/StanfordPL/stoke-release/issues/1
0x0000000000497162 in stoke::Sandbox::compile (this=0x7fffffffc200,
cfg=...) at src/sandbox/sandbox.cc:101
#2 https://github.com/StanfordPL/stoke-release/issues/2
0x000000000048aa41 in stoke::Sandbox::run (this=0x7fffffffc200, cfg=...)
at ././src/sandbox/sandbox.h:114
#3 https://github.com/StanfordPL/stoke-release/issues/3
0x000000000048768b in stoke::CostFunction::set_target (
this=0x7fffffffb150, target=..., stack_out=false, heap_out=false)
at src/cost/cost_function.cc:49
#4 https://github.com/StanfordPL/stoke-release/issues/4
0x000000000041c409 in stoke::CostFunction::CostFunction (
this=0x7fffffffb150, sb=0x7fffffffc200) at ././src/cost/cost_function.h:56
#5 https://github.com/StanfordPL/stoke-release/issues/5
0x000000000041c830 in stoke::CostFunctionGadget::CostFunctionGadget (
this=0x7fffffffb150, target=..., sb=0x7fffffffc200)
at ././tools/gadgets/cost_function.h:30
#6 https://github.com/StanfordPL/stoke-release/issues/6
0x0000000000411500 in main (argc=3, argv=0x7fffffffd928)
at tools/apps/stoke_search.cc:198
—
Reply to this email directly or view it on GitHub
https://github.com/StanfordPL/stoke-release/issues/22#issuecomment-106104277.

Yeah, I don't seem to be able to reproduce this at all.  If fixing
def_ins doesn't help, could you let us know what disto you're on, and
the output of these commands:
cat /proc/cpuinfo | grep flags | head -n1
gcc -v
If you think something in your local copy has gotten messed up, 'make
dist_clean' should help.  Also, you can run 'make test' and everything
should pass.  If not, something is wrong.
On 05/27/2015 04:03 PM, tterribe wrote:

Better backtrace (with make debug):
#0 0x00000000007127fd in x64asm::Linker::link(x64asm::Function&) ()
#1 https://github.com/StanfordPL/stoke-release/issues/1
0x0000000000497162 in stoke::Sandbox::compile (this=0x7fffffffc200,
cfg=...) at src/sandbox/sandbox.cc:101
#2 https://github.com/StanfordPL/stoke-release/issues/2
0x000000000048aa41 in stoke::Sandbox::run (this=0x7fffffffc200, cfg=...)
at ././src/sandbox/sandbox.h:114
#3 https://github.com/StanfordPL/stoke-release/issues/3
0x000000000048768b in stoke::CostFunction::set_target (
this=0x7fffffffb150, target=..., stack_out=false, heap_out=false)
at src/cost/cost_function.cc:49
#4 https://github.com/StanfordPL/stoke-release/issues/4
0x000000000041c409 in stoke::CostFunction::CostFunction (
this=0x7fffffffb150, sb=0x7fffffffc200) at ././src/cost/cost_function.h:56
#5 https://github.com/StanfordPL/stoke-release/issues/5
0x000000000041c830 in stoke::CostFunctionGadget::CostFunctionGadget (
this=0x7fffffffb150, target=..., sb=0x7fffffffc200)
at ././tools/gadgets/cost_function.h:30
#6 https://github.com/StanfordPL/stoke-release/issues/6
0x0000000000411500 in main (argc=3, argv=0x7fffffffd928)
at tools/apps/stoke_search.cc:198
—
Reply to this email directly or view it on GitHub
https://github.com/StanfordPL/stoke-release/issues/22#issuecomment-106104277.

I added %esi to the list, but still get the same crash. Distro is Gentoo (which, I should point out, cannot run the binaries until I copy libz3.so somewhere into LD_LIBRARY_PATH).
cat /proc/cpuinfo | grep flags | head -n1
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm
gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.9.1/work/gcc-4.9.1/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/python --enable-languages=c,c++,java,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.1 p1.0, pie-0.6.0' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --with-cloog --disable-isl-version-check
Thread model: posix
gcc version 4.9.1 (Gentoo 4.9.1 p1.0, pie-0.6.0)
Where is the "more recent version"?

The libz3 issue is expected.  I think the 'stoke' script in bin/ adjusts
the LD_LIBRARY_PATH before running the binaries, so you can use that for
convenience if you like.
Our ability to help you may be limited since gentoo isn't a supported
platform and we can't reproduce it, but we'll make an effort.  Could you
verify this happens with a fresh code checkout using the haswell build?
What happens if you run 'make test'?  Will the tutorial in
examples/tutorial work?  I'm trying to get a sense of if the code is
always failing there, or if it's only sometimes.  Also, if you build
x64asm with 'make debug' (by going into the src/ext/x64asm directory,
running "make clean && make debug", and then rebuilding stoke itself)
that might give more information on what's going wrong in link().
The newer version isn't stable -- it's just where we have our research
code and it's not public.  Yet, I don't think it would help you, because
I wasn't able to reproduce the problem with the release, and I would be
surprised if we somehow fixed this.
On 05/29/2015 02:15 PM, tterribe wrote:

I added %esi to the list, but still get the same crash. Distro is
Gentoo (which, I should point out, cannot run the binaries until I
copy libz3.so somewhere into LD_LIBRARY_PATH).
cat /proc/cpuinfo | grep flags | head -n1
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor
ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2
x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand
lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms
invpcid rtm
gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.9.1/work/gcc-4.9.1/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/include/g++-v4
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.1/python
--enable-languages=c,c++,java,fortran --enable-obsolete
--enable-secureplt --disable-werror --with-system-zlib --enable-nls
--without-included-gettext --enable-checking=release
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.1
p1.0, pie-0.6.0' --enable-libstdcxx-time --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-mul tilib --with-multilib-list=m32,m64 --disable-altivec
--disable-fixed-point --enable-targets=all --enable-libgomp
--disable-libmudflap --disable-libssp --enable-lto --with-cloog
--disable-isl-version-check
Thread model: posix
gcc version 4.9.1 (Gentoo 4.9.1 p1.0, pie-0.6.0)
Where is the "more recent version"?
—
Reply to this email directly or view it on GitHub
https://github.com/StanfordPL/stoke-release/issues/22#issuecomment-106938045.

I think the 'stoke' script in bin/ adjusts the LD_LIBRARY_PATH before running

This was not working for whatever reason. I had to stop using that script to get a useful error message (otherwise bash simply reported failing to load the .so as a segafult in a child process) before I could even figure out what the problem was. But that's a separate issue.
I am not certain what 'the Haswell build' refers to. I checked out 232ca096de53be8f1f528b22f3b610566f386cae (tip as of the time of checkout).
make test produces
[----------] 1 test from ValidatorFuzzTest
[ RUN      ] ValidatorFuzzTest.RandomInstructionRandomState
[----------] * Seed 489273
[----------] * vpcmpistri $0xfe, 0x16(%r8), %xmm2
[----------]   - No validator support
[----------] * minss 0x64(%rsp,%rdx,8), %xmm5
[----------]   - No validator support
[----------] * movntdqa 0x16(%r8), %xmm14
[----------]   - No validator support
[----------] * paddsb %xmm3, %xmm12
[----------]   - No validator support
[----------] * cvtpi2pd 0x64(%rsp,%rdx,8), %xmm3
[----------] * movupd 0x64(%rdx), %xmm1
[----------] * btl $0x40, %esi
[----------]   - No validator support
[----------] * phaddw %xmm0, %xmm0
[----------] * setp %dl
[----------] * vandnpd %xmm15, %xmm12, %xmm7
[----------] * testq %r13, %rsp
[----------] * andl 0x16(%r8), %esp
[----------] * vpmulhuw -0x16(%r8), %ymm9, %ymm11
[----------]   - No validator support
[----------] * vpmaxub -0x16(%r8), %xmm15, %xmm4
[----------] * vdpps $0xde, %ymm5, %ymm8, %ymm5
[----------]   - No validator support
[----------] * vcvtsi2sdq 0x64(%rdx), %xmm1, %xmm6
[----------]   - No validator support
[----------] * vpblendd $0x7f, %ymm3, %ymm2, %ymm12
[----------]   - No validator support
[----------] * vpermilps %xmm0, %xmm1, %xmm6
[----------]   - No validator support
[----------] * imulw -0x64(%rsp,%rdx,8)
[----------]   - No validator support
[----------] * vdivpd 0x16(%r8), %xmm1, %xmm6
[----------]   - Could not generate state: Memory dereference misaligned.
[----------] * xaddb %al, %r13b
[----------] * setno %sil
[----------] * testb %cl, %cl
[----------] * vpextrb $0xfe, %xmm7, %rax
[----------]   - No validator support
[----------] * sarb %cl, %r12b
[----------] * vmovaps -0x64(%rsp,%rdx,8), %xmm2
[----------]   - Could not generate state: Memory dereference misaligned.
[----------] * addb (%rax), %r8b
[----------] * vphsubd %xmm14, %xmm0, %xmm1
[----------] * vroundps $0xff, 0x64(%rdx), %ymm6
[----------]   - No validator support
[----------] * vpsrlw -0x64(%rax,%rcx,4), %ymm10, %ymm7
[----------]   - No validator support
[----------] * vmaskmovpd -0x16(%r8), %ymm15, %ymm11
[----------]   - No validator support
[----------] * salw %cl, %si
[----------] * vpminuw 0x16(%r8), %ymm6, %ymm9
[----------]   - Could not generate state: Memory dereference misaligned.
[----------] * pmovzxwq 0x64(%rdx), %xmm10
[----------] * cmpw $0x3, 0x64(%rdx)
[----------] * vpshufd $0xfe, %ymm3, %ymm14
[----------]   - No validator support
[----------] * cmpxchgb %dl, %r13b
[----------]   - No validator support
[----------] * salw $0x1, %cx
[----------] * vmulpd 0x64(%rsp,%rdx,8), %xmm15, %xmm11
[----------]   - Could not generate state: Memory dereference misaligned.
[----------] * phaddw -0x64(%rax,%rcx,4), %mm0
[----------]   - No validator support
[----------] * vpackssdw %xmm14, %xmm2, %xmm14
[----------]   - No validator support
[----------] * vpsubsw %ymm10, %ymm0, %ymm15
[----------] * sbbb $0x8, %al
[----------] * movzwq (%rax), %rsp
[----------] * vpaddd %ymm14, %ymm14, %ymm13
[----------] * vmaxss %xmm15, %xmm11, %xmm12
[----------]   - No validator support
[----------] * vpermq $0xff, %ymm15, %ymm6
[----------]   - No validator support
[----------] * movswq %cx, %r12
[----------] * vsubsd %xmm0, %xmm12, %xmm14
[----------] * testq $0x7fff, %rax
[----------] * rorw $0x1, %r11w
[----------] * pabsw -0x16(%r8), %xmm15
[----------]   - Could not generate state: Memory dereference misaligned.
[----------] * vpsubb 0x64(%rsp,%rdx,8), %ymm6, %ymm11
[----------]   - Could not generate state: Memory dereference misaligned.
[----------] * vmovsldup %xmm14, %xmm1
[----------]   - No validator support
[----------] * idivw %r11w
[----------]   - No validator support
[----------] * vpmaxud 0x64(%rax,%rcx,4), %xmm12, %xmm9
[----------] * minpd 0x64(%rax,%rcx,4), %xmm10
[----------] * vpaddw %xmm1, %xmm10, %xmm11
[----------] * phaddd %xmm8, %xmm1
[----------] * sarq $0x1, %rax
[----------] * shrl %cl, %ebp
[----------] * vtestps %xmm6, %xmm10
[----------]   - No validator support
[----------] * andw 0x64(%rdx), %r8w
[----------] * vcvtdq2pd %ymm4, %ymm14
[----------] * pavgb 0x64(%rsp,%rdx,8), %mm1
[----------]   - No validator support
[----------] * vsqrtss -0x64(%rsp,%rdx,8), %xmm13, %xmm14
[----------] * pmovzxwq %xmm2, %xmm2
[----------] * cvtss2siq -0x16(%r8), %rcx
[----------]   - No validator support
[----------] * pinsrw $0xe0, %r13d, %xmm5
[----------]   - No validator support
[----------] * roundpd $0xff, %xmm6, %xmm7
[----------]   - No validator support
[----------] * sbbl $0xfffffffa, %eax
[----------] * vpabsw %ymm15, %ymm7
[----------] * vpmaddwd %xmm11, %xmm10, %xmm7
[----------]   - No validator support
[----------] * imulb %r9b
[----------]   - No validator support
[----------] * xorb %bl, %r13b
[----------] * movzbl %r11b, %edx
[----------] * setng %spl
[----------] * vpinsrd $0xff, %r12d, %xmm0, %xmm12
[----------]   - No validator support
[----------] * shrw $0x1, %si
[----------] * cvttps2dq %xmm10, %xmm9
[----------] * orb (%rax), %r14b
[----------] * pextrw $0xe0, %xmm2, %r13d
[----------]   - No validator support
[----------] * incq %r15
[----------] * vcvttpd2dq -0x16(%r8), %xmm2
[----------]   - No validator support
[----------] * testl $0xffffffff, %ecx
[----------] * sets %dl
[----------] * sbbb %r14b, %bpl
[----------] * vsqrtps -0x64(%rsp,%rdx,8), %xmm11
[----------]   - Could not generate state: Memory dereference misaligned.
[----------] * insertps $0xfc, %xmm11, %xmm12
[----------]   - No validator support
[----------] * vphsubsw %ymm1, %ymm2, %ymm3
[----------]   - No validator support
[----------] * vmpsadbw $0x0, -0x64(%rsp,%rdx,8), %ymm13, %ymm6
[----------]   - No validator support
[----------] * blendps $0xff, -0x16(%r8), %xmm8
[----------]   - No validator support
[----------] * andpd %xmm10, %xmm14
[----------] * shrl %cl, %esp
[----------] * vpshufb 0x64(%rdx), %ymm13, %ymm13
[----------]   - No validator support
[----------] * verr %r11w
[----------]   - No validator support
[----------] * andw %r9w, %r12w
[----------] * vrcpss 0x64(%rdx), %xmm4, %xmm4
[----------] * vpshufb %ymm7, %ymm14, %ymm0
[----------]   - No validator support
[----------] * vcmpss $0xfa, %xmm14, %xmm15, %xmm2
[----------]   - No validator support
././tests/validator/fuzz.h:200: Failure
Expected: (success) >= (min_success), actual: 0 vs 25
[  FAILED  ] ValidatorFuzzTest.RandomInstructionRandomState (1717 ms)
...
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ValidatorFuzzTest.RandomInstructionRandomState
Rebuilding x64asm with make debug, and now things appear to work (both the tutorial and my code). I don't think I changed anything else, but making clean in x64asm and the top level and rebuilding without make debug, and things still work.
Not sure what to do here, as now both of us cannot reproduce. If you wish to assume pilot error somewhere on my part and close this, that's fine.

Thank you for taking the time to look into it.  It's not uncommon for
something to get messed up in the build system.  The haswell build is
the default one; if you type "make" you get a haswell build.
The error you get from 'make test' is odd, but it's probably okay for
what you're doing.
If everything is working fine, then let's go ahead and close this, but
feel free to reopen if needed.
On 06/01/2015 02:25 PM, tterribe wrote:

I think the 'stoke' script in bin/ adjusts the LD_LIBRARY_PATH
before running

This was not working for whatever reason. I had to /stop/ using that
script to get a useful error message (otherwise bash simply reported
failing to load the .so as a segafult in a child process) before I
could even figure out what the problem was. But that's a separate issue.
I am not certain what 'the Haswell build' refers to. I checked out
232ca09
https://github.com/StanfordPL/stoke-release/commit/232ca096de53be8f1f528b22f3b610566f386cae
(tip as of the time of checkout).
make test produces
[----------] 1 test from ValidatorFuzzTest
[ RUN ] ValidatorFuzzTest.RandomInstructionRandomState
[----------] * Seed 489273
[----------] * vpcmpistri $0xfe, 0x16(%r8), %xmm2
[----------] - No validator support
[----------] * minss 0x64(%rsp,%rdx,8), %xmm5
[----------] - No validator support
[----------] * movntdqa 0x16(%r8), %xmm14
[----------] - No validator support
[----------] * paddsb %xmm3, %xmm12
[----------] - No validator support
[----------] * cvtpi2pd 0x64(%rsp,%rdx,8), %xmm3
[----------] * movupd 0x64(%rdx), %xmm1
[----------] * btl $0x40, %esi
[----------] - No validator support
[----------] * phaddw %xmm0, %xmm0
[----------] * setp %dl
[----------] * vandnpd %xmm15, %xmm12, %xmm7
[----------] * testq %r13, %rsp
[----------] * andl 0x16(%r8), %esp
[----------] * vpmulhuw -0x16(%r8), %ymm9, %ymm11
[----------] - No validator support
[----------] * vpmaxub -0x16(%r8), %xmm15, %xmm4
[----------] * vdpps $0xde, %ymm5, %ymm8, %ymm5
[----------] - No validator support
[----------] * vcvtsi2sdq 0x64(%rdx), %xmm1, %xmm6
[----------] - No validator support
[----------] * vpblendd $0x7f, %ymm3, %ymm2, %ymm12
[----------] - No validator support
[----------] * vpermilps %xmm0, %xmm1, %xmm6
[----------] - No validator support
[----------] * imulw -0x64(%rsp,%rdx,8)
[----------] - No validator support
[----------] * vdivpd 0x16(%r8), %xmm1, %xmm6
[----------] - Could not generate state: Memory dereference misaligned.
[----------] * xaddb %al, %r13b
[----------] * setno %sil
[----------] * testb %cl, %cl
[----------] * vpextrb $0xfe, %xmm7, %rax
[----------] - No validator support
[----------] * sarb %cl, %r12b
[----------] * vmovaps -0x64(%rsp,%rdx,8), %xmm2
[----------] - Could not generate state: Memory dereference misaligned.
[----------] * addb (%rax), %r8b
[----------] * vphsubd %xmm14, %xmm0, %xmm1
[----------] * vroundps $0xff, 0x64(%rdx), %ymm6
[----------] - No validator support
[----------] * vpsrlw -0x64(%rax,%rcx,4), %ymm10, %ymm7
[----------] - No validator support
[----------] * vmaskmovpd -0x16(%r8), %ymm15, %ymm11
[----------] - No validator support
[----------] * salw %cl, %si
[----------] * vpminuw 0x16(%r8), %ymm6, %ymm9
[----------] - Could not generate state: Memory dereference misaligned.
[----------] * pmovzxwq 0x64(%rdx), %xmm10
[----------] * cmpw $0x3, 0x64(%rdx)
[----------] * vpshufd $0xfe, %ymm3, %ymm14
[----------] - No validator support
[----------] * cmpxchgb %dl, %r13b
[----------] - No validator support
[----------] * salw $0x1, %cx
[----------] * vmulpd 0x64(%rsp,%rdx,8), %xmm15, %xmm11
[----------] - Could not generate state: Memory dereference misaligned.
[----------] * phaddw -0x64(%rax,%rcx,4), %mm0
[----------] - No validator support
[----------] * vpackssdw %xmm14, %xmm2, %xmm14
[----------] - No validator support
[----------] * vpsubsw %ymm10, %ymm0, %ymm15
[----------] * sbbb $0x8, %al
[----------] * movzwq (%rax), %rsp
[----------] * vpaddd %ymm14, %ymm14, %ymm13
[----------] * vmaxss %xmm15, %xmm11, %xmm12
[----------] - No validator support
[----------] * vpermq $0xff, %ymm15, %ymm6
[----------] - No validator support
[----------] * movswq %cx, %r12
[----------] * vsubsd %xmm0, %xmm12, %xmm14
[----------] * testq $0x7fff, %rax
[----------] * rorw $0x1, %r11w
[----------] * pabsw -0x16(%r8), %xmm15
[----------] - Could not generate state: Memory dereference misaligned.
[----------] * vpsubb 0x64(%rsp,%rdx,8), %ymm6, %ymm11
[----------] - Could not generate state: Memory dereference misaligned.
[----------] * vmovsldup %xmm14, %xmm1
[----------] - No validator support
[----------] * idivw %r11w
[----------] - No validator support
[----------] * vpmaxud 0x64(%rax,%rcx,4), %xmm12, %xmm9
[----------] * minpd 0x64(%rax,%rcx,4), %xmm10
[----------] * vpaddw %xmm1, %xmm10, %xmm11
[----------] * phaddd %xmm8, %xmm1
[----------] * sarq $0x1, %rax
[----------] * shrl %cl, %ebp
[----------] * vtestps %xmm6, %xmm10
[----------] - No validator support
[----------] * andw 0x64(%rdx), %r8w
[----------] * vcvtdq2pd %ymm4, %ymm14
[----------] * pavgb 0x64(%rsp,%rdx,8), %mm1
[----------] - No validator support
[----------] * vsqrtss -0x64(%rsp,%rdx,8), %xmm13, %xmm14
[----------] * pmovzxwq %xmm2, %xmm2
[----------] * cvtss2siq -0x16(%r8), %rcx
[----------] - No validator support
[----------] * pinsrw $0xe0, %r13d, %xmm5
[----------] - No validator support
[----------] * roundpd $0xff, %xmm6, %xmm7
[----------] - No validator support
[----------] * sbbl $0xfffffffa, %eax
[----------] * vpabsw %ymm15, %ymm7
[----------] * vpmaddwd %xmm11, %xmm10, %xmm7
[----------] - No validator support
[----------] * imulb %r9b
[----------] - No validator support
[----------] * xorb %bl, %r13b
[----------] * movzbl %r11b, %edx
[----------] * setng %spl
[----------] * vpinsrd $0xff, %r12d, %xmm0, %xmm12
[----------] - No validator support
[----------] * shrw $0x1, %si
[----------] * cvttps2dq %xmm10, %xmm9
[----------] * orb (%rax), %r14b
[----------] * pextrw $0xe0, %xmm2, %r13d
[----------] - No validator support
[----------] * incq %r15
[----------] * vcvttpd2dq -0x16(%r8), %xmm2
[----------] - No validator support
[----------] * testl $0xffffffff, %ecx
[----------] * sets %dl
[----------] * sbbb %r14b, %bpl
[----------] * vsqrtps -0x64(%rsp,%rdx,8), %xmm11
[----------] - Could not generate state: Memory dereference misaligned.
[----------] * insertps $0xfc, %xmm11, %xmm12
[----------] - No validator support
[----------] * vphsubsw %ymm1, %ymm2, %ymm3
[----------] - No validator support
[----------] * vmpsadbw $0x0, -0x64(%rsp,%rdx,8), %ymm13, %ymm6
[----------] - No validator support
[----------] * blendps $0xff, -0x16(%r8), %xmm8
[----------] - No validator support
[----------] * andpd %xmm10, %xmm14
[----------] * shrl %cl, %esp
[----------] * vpshufb 0x64(%rdx), %ymm13, %ymm13
[----------] - No validator support
[----------] * verr %r11w
[----------] - No validator support
[----------] * andw %r9w, %r12w
[----------] * vrcpss 0x64(%rdx), %xmm4, %xmm4
[----------] * vpshufb %ymm7, %ymm14, %ymm0
[----------] - No validator support
[----------] * vcmpss $0xfa, %xmm14, %xmm15, %xmm2
[----------] - No validator support
././tests/validator/fuzz.h:200: Failure
Expected: (success) >= (min_success), actual: 0 vs 25
[ FAILED ] ValidatorFuzzTest.RandomInstructionRandomState (1717 ms)
...
[ FAILED ] 1 test, listed below:
[ FAILED ] ValidatorFuzzTest.RandomInstructionRandomState
Rebuilding x64asm with make debug, and now things appear to work (both
the tutorial and my code). I don't think I changed anything else, but
making clean in x64asm and the top level and rebuilding without make
debug, and things still work.
Not sure what to do here, as now both of us cannot reproduce. If you
wish to assume pilot error somewhere on my part and close this, that's
fine.
—
Reply to this email directly or view it on GitHub
https://github.com/StanfordPL/stoke-release/issues/22#issuecomment-107717301.


Update telemetry-core, ... to 0.13.2

Updates

com.newrelic.telemetry:telemetry-core
com.newrelic.telemetry:telemetry-http-okhttp

from 0.12.0 to 0.13.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.newrelic.telemetry" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.newrelic.telemetry" }
}]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #588.


Add timeout for steps/scenarios

It would be great to support timeout per step/scenario to prevent executions getting stuck in case of step failure.

gauge-js supports timeouts for steps, since the step definitions can be async. But this can be rolled out via gauge.
What would be a good default for execution timeout?

I think 5 minutes should be more than enough for a step but I guess there will be many different opinions on this topic.

I think in the interest of backward compatibility, we don't set a timeout at all as default. Instead if it is configured, we can use that timeout in Gauge.

It would be helpful if we can specify the timeouts:

for all steps in env files. e.g. STEP_TIMEOUT=5000 variable
and should be able to override for a step within the annotations. E.g. @Step(timeout = 5000)

Any plans on launching this feature? Or any update?

There are no plans for this as of now. However, PR's are to implement this feature will be accepted.


Add options for dynmap customization

This PR contains a commit which adds the following options for the dynmap integration:

marker-set-label
missing-name-placeholder

The marker-set-label is the string which is used in the dynmap layer list to identity the layer itself. In addition to that, currently the placeholder string, when a claim doesn't have a display name, is hardcoded to "none". To change this, the option missing-name-placeholder can be used.
In addition to that, it adds the following placeholders to the dynmap popup window:

%width%
%length%
%height%
%area%
%volume%

It also removes the MOD_ID constant inside the DynmapProvider, as it isn't used anymore.
Furthermore it refactors the DynmapProvider by reducing duplicate code inside the class and also by making the code itself more readable.
Please note: I do not have access to all the plugins that are referenced in this plugin. Therefore I cannot compile or test anything myself. Please point it out to me when something is broken or if I've missed something.

I've removed the duplicate placeholder (didn't saw that, sorry), updated my PR description and also added two more commits which deduplicate code and also move the HTML container wrapper to the end of the getWindowInfo method.


chore: rename cryptoMarketData to marketData

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

High Risk PRs Require 2 approvals

What protocols, transaction types or contract interactions might be affected by this PR?

Testing

Engineering

Operations

Screenshots (if applicable)

#6397  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @woodenfurniture and the rest of your teammates on  Graphite


A wrong label in Birds_name.xlsx for CUB-200-2011

Hi, I was using the Birds_name.xlsx file to build a tree of labels when I noticed there's an error in the file at row 85:
species                        |    family   |  order
Red_legged_Kittiwake |   Laridae  |  Coraciiformes
the order of Red_legged_Kittiwake should be Charadriiformes

Thank you very much for pointing out this error.  You are absolutely correct, and we appreciate the accurate information you provided.
We will promptly make the correction, and the order of the Red_legged_Kittiwake in the Birds_name.xlsx file will be updated to "Charadriiformes."

Hi, I noticed another issue in the Birds_name.xlsx file, i.e., the class name in row 71: "Green_Violet_ear" should be "Green_Violetear" in case you haven't fixed the file. Here's my correction:
Birds_name.xlsx


chore: bdd-spring-1580742641 to 0.0.1

chore: Promote bdd-spring-1580742641 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


fix(mat-accordion): dynamic height animation

Bug:
Having two exact mat-expansion-panel, I expect switching between them doesn't change container height.

If panels have different height I expect container height goes only in 1 direction. Either gets bigger or smaller. But not both

What are the steps to reproduce?

https://stackblitz.com/edit/angular-nudmdl
It's your 1st example placed under EXAMPLES tab

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material: 6.4.2
Angular: 6.1.1
Chrome: 68

@josephperrott
Wanted also to ask:
Is transition(that's applied to margin) needed? I mean it's alsmost not noticeable on 100% animation speed. But it introduces additional "layout" browser phase which affects performance.
Thanks


Error with rendering QR

Tried to create a TOTP. It gave me a map which couldn't render.
2FAPlus - 2.3.15
Spigot - CraftBukkit version git-Spigot-1a3504a-84f3da3 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
OS - Ubuntu Server 18.04
JRE - was OpenJDK 11, now Oracle 12 (same error)
This flooded the console after creating until I destroyed the map
[19:50:46 ERROR]: Could not render map using renderer me.egg82.tfaplus.renderers.ImageRenderer
java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129) ~[?:?]
        at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181) ~[?:?]
        at org.bukkit.map.MapPalette.imageToBytes(MapPalette.java:191) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at org.bukkit.craftbukkit.v1_13_R2.map.CraftMapCanvas.drawImage(CraftMapCanvas.java:65) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at me.egg82.tfaplus.renderers.ImageRenderer.render(ImageRenderer.java:39) ~[?:?]
        at org.bukkit.craftbukkit.v1_13_R2.map.CraftMapView.render(CraftMapView.java:149) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.WorldMap$WorldMapHumanTracker.a(WorldMap.java:423) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.WorldMap.a(WorldMap.java:317) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.ItemWorldMap.a(ItemWorldMap.java:329) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.EntityPlayer.playerTick(EntityPlayer.java:385) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.PlayerConnection.tick(PlayerConnection.java:140) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:230) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.ServerConnection.c(ServerConnection.java:119) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:994) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at java.lang.Thread.run(Thread.java:834) [?:?]

After some quick discussion, an issue like that is usually due to the JRE (or its dependencies) not being installed correctly (which would affect more than just 2FA+)
It's difficult to tell without the full stacktrace/error though.

ok so turns out previously i was on OpenJDK 11. I've switched to Oracle Java 12 and rebuilt Spigot, same problem. How can I get a full stack trace?
(Oracle Java 8 is becoming increasingly difficult to get)

No need for Oracle's Java 8. Oracle's Java is based on OpenJDK/OpenJRE so will run fine with those.

ok. I do prefer to stay on openjdk, I'll switch back after resolving this, thanks. If it is a dependency issue, do you mean a missing lib? I'm on Ubuntu 18.04

It may be a missing lib, but the project also wan't compiled for 11 or 12. It's compiled on 8, as is Spigot (Paper is compiled on 8, 9, and 11 iirc)

Closing because it seems resolved. Re-open if needed.


./templates/train_data.json

Excellent job.
Don't see ./templates/train_data.json
Can you provide it?

hi @whitesockcat  please refer to https://github.com/UniModal4Reasoning/ChartVLM/blob/main/auxiliary_decoder/train/templates/train_data.json

@whitesockcat
This issue will be closed due to prolonged inactivity. If further discussion is needed, please reopen this issue.


CSS language in Styled Components template string

Thank you for your great work on getting syntax highlighting to work on styled-components!
Would it be possible to add CSS language support within the styled components template strings? Would be great to be able to use CSS snippets, etc.
I'm sorry if this is a naive question and outside the scope of this great package.

the current css templating/interpolation for styled-components was a quick hack but I am rewriting the css grammar parsing and will roll that out sometime soon. At that point, I will rename the scope to be Css and then packages like https://atom.io/packages/css-snippets and language-css snippets should work. Is this what you need?

That's exactly it. Looking forward to it. Thanks a bunch!


Rewayat club

Source name
Rewayat club
Source link
https://rewayat.club
Language
Arabic
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #78


IRCoT EM issue

Hello,
When I run IRCoT, I get low metrics (EM) scores on NQ.
'em': 0.03795013850415512,
'f1': 0.12311026191305013,
'acc': 0.37423822714681443,
'precision': 0.09967411159897124,
'recall': 0.4279593721144966

Two situations,
one is when raw_pred contains the answer is, here is an example:
I am not sure where When it is my comes from, but it is inside the answer is, which causes the wrong pred. One possible way to fix this is to only extract answer before some stopping chars, like ., so So the answer is: Wilhelm Conrad R\u00f6ntgen. When it is my becomes Wilhelm Conrad R\u00f6ntgen if we extract before ..
{
        "id": "test_0",
        "question": "who got the first nobel prize in physics",
        "golden_answers": [
            "Wilhelm Conrad R\u00f6ntgen"
        ],
        "output": {
            "intermediate_output_iter1": {
                "input_prompt": "You serve as an intelligent assistant, adept at facilitating users through complex, multi-hop reasoning across multiple documents. This task is illustrated through demonstrations, each consisting of a document set paired with a relevant question and its multi-hop reasoning thoughts. Your task is to generate one thought for current step, DON'T generate the whole thoughts at once! If you reach what you believe to be the final step, start with \"So the answer is:\".\n\nWikipedia Title: Kurram Garhi\nKurram Garhi is a small village located near the city of Bannu, which is the part of Khyber Pakhtunkhwa province of Pakistan. Its population is approximately 35000. Barren hills are near this village. This village is on the border of Kurram Agency. Other nearby villages are Peppal, Surwangi and Amandi Kala.\n\nWikipedia Title: 2001\u201302 UEFA Champions League second group stage\nEight winners and eight runners- up from the first group stage were drawn into four groups of four teams, each containing two group winners and two runners- up. Teams from the same country or from the same first round group could not be drawn together. The top two teams in each group advanced to the quarter- finals.\n\nWikipedia Title: Satellite tournament\nA satellite tournament is either a minor tournament or event on a competitive sporting tour or one of a group of such tournaments that form a series played in the same country or region.\n\nWikipedia Title: Trojkrsti\nTrojkrsti is a village in Municipality of Prilep, Republic of Macedonia.\n\nWikipedia Title: Telephone numbers in Ascension Island\nCountry Code:+ 247< br> International Call Prefix: 00 Ascension Island does not share the same country code( +290) with the rest of St Helena.\n\nQuestion: Are both Kurram Garhi and Trojkrsti located in the same country?\nThought: Kurram Garhi is located in the country of Pakistan. Trojkrsti is located in the country of Republic of Macedonia. Thus, they are not in the same country. So the answer is: no.\n\n\n\nWikipedia Title: \"Nobel Prize in Physics\"\nNobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was awarded to physicist Wilhelm R\u00f6ntgen in recognition of the extraordinary services he\n\nWikipedia Title: \"Nobel Prize in Physics\"\nreceive a diploma, a medal and a document confirming the prize amount. Nobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was\n\nWikipedia Title: \"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In\n\nWikipedia Title: \"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In\n\nWikipedia Title: \"Nobel Prize\"\nWilhelm R\u00f6ntgen's discovery of X-rays and Philipp Lenard's work on cathode rays. The Academy of Sciences selected R\u00f6ntgen for the prize. In the last decades of the 19th century, many chemists had made significant contributions. Thus, with the Chemistry Prize, the Academy \"\"was chiefly faced with merely deciding the order in which these scientists should be awarded the prize\"\". The Academy received 20 nominations, eleven of them for Jacobus van 't Hoff. Van 't Hoff was awarded the prize for his contributions in chemical thermodynamics. The Swedish Academy chose the poet Sully Prudhomme for the first Nobel Prize in Literature.\n\nQuestion: who got the first nobel prize in physics\nThought:",
                "new_thought": " According to the text, Wilhelm Conrad R\u00f6ntgen got the first Nobel Prize in Physics in 1901 in recognition of his extraordinary services for mankind in the",
                "new_retreival_result": [
                    {
                        "id": "16315106",
                        "contents": "\"Nobel Prize in Physics\"\nNobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was awarded to physicist Wilhelm R\u00f6ntgen in recognition of the extraordinary services he",
                        "score": 12.263771057128906
                    },
                    {
                        "id": "18359576",
                        "contents": "\"Wilhelm Ro\u0308ntgen\"\n1887. R\u00f6ntgen died on 10 February 1923 from carcinoma of the intestine. He inherited two Million Reichsmarks after his father's death. With the inflation following World War I, R\u00f6ntgen fell into bankruptcy later in life, spending his final years at his country home at Weilheim, near Munich. In keeping with his will, all his personal and scientific correspondence was destroyed upon his death. In 1901, R\u00f6ntgen was awarded the first Nobel Prize in Physics. The award was officially \"\"in recognition of the extraordinary services he has rendered by the discovery of the remarkable rays subsequently named after him\"\". R\u00f6ntgen donated",
                        "score": 11.914996147155762
                    },
                    {
                        "id": "16315118",
                        "contents": "\"Nobel Prize in Physics\"\nreceive a diploma, a medal and a document confirming the prize amount. Nobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was",
                        "score": 11.813380241394043
                    },
                    {
                        "id": "18359579",
                        "contents": "\"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In",
                        "score": 11.739733695983887
                    },
                    {
                        "id": "6617129",
                        "contents": "\"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In",
                        "score": 11.739733695983887
                    }
                ]
            },
            "retrieval_result": [
                {
                    "id": "11376096",
                    "contents": "\"Nobel Prize\"\nWilhelm R\u00f6ntgen's discovery of X-rays and Philipp Lenard's work on cathode rays. The Academy of Sciences selected R\u00f6ntgen for the prize. In the last decades of the 19th century, many chemists had made significant contributions. Thus, with the Chemistry Prize, the Academy \"\"was chiefly faced with merely deciding the order in which these scientists should be awarded the prize\"\". The Academy received 20 nominations, eleven of them for Jacobus van 't Hoff. Van 't Hoff was awarded the prize for his contributions in chemical thermodynamics. The Swedish Academy chose the poet Sully Prudhomme for the first Nobel Prize in Literature.",
                    "score": 11.842920303344727
                },
                {
                    "id": "18359579",
                    "contents": "\"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In",
                    "score": 11.739733695983887
                },
                {
                    "id": "6617129",
                    "contents": "\"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In",
                    "score": 11.739733695983887
                },
                {
                    "id": "18359576",
                    "contents": "\"Wilhelm Ro\u0308ntgen\"\n1887. R\u00f6ntgen died on 10 February 1923 from carcinoma of the intestine. He inherited two Million Reichsmarks after his father's death. With the inflation following World War I, R\u00f6ntgen fell into bankruptcy later in life, spending his final years at his country home at Weilheim, near Munich. In keeping with his will, all his personal and scientific correspondence was destroyed upon his death. In 1901, R\u00f6ntgen was awarded the first Nobel Prize in Physics. The award was officially \"\"in recognition of the extraordinary services he has rendered by the discovery of the remarkable rays subsequently named after him\"\". R\u00f6ntgen donated",
                    "score": 11.914996147155762
                },
                {
                    "id": "16315118",
                    "contents": "\"Nobel Prize in Physics\"\nreceive a diploma, a medal and a document confirming the prize amount. Nobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was",
                    "score": 11.813380241394043
                },
                {
                    "id": "16315106",
                    "contents": "\"Nobel Prize in Physics\"\nNobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was awarded to physicist Wilhelm R\u00f6ntgen in recognition of the extraordinary services he",
                    "score": 12.263771057128906
                }
            ],
            "pred": "Wilhelm Conrad R\u00f6ntgen. When it is my",
            "raw_pred": " According to the text, Wilhelm Conrad R\u00f6ntgen got the first Nobel Prize in Physics in 1901 in recognition of his extraordinary services for mankind in the  field of physics. He is also known as the discoverer of X-rays. So the answer is: Wilhelm Conrad R\u00f6ntgen. When it is my",
            "metric_score": {
                "em": 0.0,
                "f1": 0.6,
                "acc": 1.0,
                "precision": 0.42857142857142855,
                "recall": 1.0
            }
        }
    },

second situation is when there is no the answer is , here is an example:
raw_pred built by concatenating new_thought is long, not directly answering the question.
Above is my thought, but I don't think it the reason that caused low EM (most likely due to no necessary info retrieved).
{
        "id": "test_1",
        "question": "when is the next deadpool movie being released",
        "golden_answers": [
            "May 18, 2018"
        ],
        "output": {
            "intermediate_output_iter1": {
                "input_prompt": "You serve as an intelligent assistant, adept at facilitating users through complex, multi-hop reasoning across multiple documents. This task is illustrated through demonstrations, each consisting of a document set paired with a relevant question and its multi-hop reasoning thoughts. Your task is to generate one thought for current step, DON'T generate the whole thoughts at once! If you reach what you believe to be the final step, start with \"So the answer is:\".\n\nWikipedia Title: Kurram Garhi\nKurram Garhi is a small village located near the city of Bannu, which is the part of Khyber Pakhtunkhwa province of Pakistan. Its population is approximately 35000. Barren hills are near this village. This village is on the border of Kurram Agency. Other nearby villages are Peppal, Surwangi and Amandi Kala.\n\nWikipedia Title: 2001\u201302 UEFA Champions League second group stage\nEight winners and eight runners- up from the first group stage were drawn into four groups of four teams, each containing two group winners and two runners- up. Teams from the same country or from the same first round group could not be drawn together. The top two teams in each group advanced to the quarter- finals.\n\nWikipedia Title: Satellite tournament\nA satellite tournament is either a minor tournament or event on a competitive sporting tour or one of a group of such tournaments that form a series played in the same country or region.\n\nWikipedia Title: Trojkrsti\nTrojkrsti is a village in Municipality of Prilep, Republic of Macedonia.\n\nWikipedia Title: Telephone numbers in Ascension Island\nCountry Code:+ 247< br> International Call Prefix: 00 Ascension Island does not share the same country code( +290) with the rest of St Helena.\n\nQuestion: Are both Kurram Garhi and Trojkrsti located in the same country?\nThought: Kurram Garhi is located in the country of Pakistan. Trojkrsti is located in the country of Republic of Macedonia. Thus, they are not in the same country. So the answer is: no.\n\n\n\nWikipedia Title: \"Deadpool (film)\"\nwas written by Reese and Wernick and played in front of \"\"Logan\"\". \"\"Deadpool 2\"\" was released on May 18, 2018, with Baccarin, T. J. Miller, Uggams, Hildebrand, and Kapi\u010di\u0107 all returning. Josh Brolin joined them as Cable. The film explores the team X-Force, which includes Deadpool and Cable. In March 2017, Reese said that a future film focused on that group would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but then [\"\"Deadpool 3\"\" is] where we're contracting and staying personal and small.\"\" After the acquisition\n\nWikipedia Title: \"Deadpool 2\"\nis dedicated to her memory. The film's score is the first to receive a parental advisory warning for explicit content, and the soundtrack also includes the original song \"\"Ashes\"\" by C\u00e9line Dion. \"\"Deadpool 2\"\" was released in the United States on May 18, 2018. It has grossed over $738 million worldwide, becoming the seventh highest-grossing film of 2018, as well as the third highest-grossing R-rated film and the third highest-grossing \"\"X-Men\"\" film. It received positive reviews from critics, who praised its humor, acting (particularly Reynolds, Brolin, and Beetz's performances), story, and action sequences, with some calling it better than the\n\nWikipedia Title: \"Deadpool 2\"\nchimichangas, traditionally Deadpool's favorite food, as well as \"\"Deadpool\"\"-inspired Harder drinks. The campaign also included the chance to win a trip to the film's premiere through Harder, and the Los Angeles pop-up benefitted the nonprofit DTLA Film Festival. \"\"Deadpool 2\"\" premiered at Leicester Square in London on May 10, 2018. It was released in the United States on May 18, 2018, having been previously scheduled for release on June 1 of that year. Leitch's initial cut of the film was around two hours and twelve minutes, with \"\"nips and tucks\"\" done to it to get the run time down to\n\nWikipedia Title: \"Deadpool 2\"\nJanuary, the film's release was moved up to May 18, 2018. In February 2018, Terry Crews was revealed to have a role in the film, the character Shatterstar was confirmed to be appearing, and the production returned to Vancouver for six days of reshoots under a new working title, \"\"Daisy\"\". Some reports emerged by mid-March claiming that these reshoots were due to poor audience responses during test screenings of the film, and consisted of sweeping changes. However, the film was soon confirmed to be testing better than the original did, up to 98 out of 100 over three different tests\n\nWikipedia Title: \"Deadpool 2\"\nat the convention moderated by Soni and featuring other cast members. Some of the scenes cut from the theatrical version of the film were debuted at the panel. At the end of September 2018, Fox announced that it would release an untitled \"\"Deadpool\"\" film in theaters on December 21. The studio suggested that press and fans \"\"guess away\"\" as to what this new film would be, but it was believed to be a re-cut version of \"\"Deadpool 2\"\" that would carry a PG-13 rating rather than being R-rated like the initial theatrical release. Reynolds hinted that the version of the\n\nQuestion: when is the next deadpool movie being released\nThought:",
                "new_thought": "\u03c4\u03b5\u03c1\u03bf n\u00e4chsten Deadpool-Film ist nicht genannt. However, we know that a future \"\"Deadpool\"\" film is planned. This film will be different from \"\"",
                "new_retreival_result": [
                    {
                        "id": "18236639",
                        "contents": "\"Deadpool 2\"\nand transgression, but takes no real creative risks.\"\" By November 2016, with development underway on \"\"Deadpool 2\"\", Fox was also planning \"\"Deadpool 3\"\", which was said to include the team X-Force. With the confirmation that Leitch would direct \"\"Deadpool 2\"\", it was revealed that Fox was looking for a separate filmmaker to direct \"\"Deadpool 3\"\". In March 2017, Reese clarified that though \"\"Deadpool 2\"\" sets up the X-Force team, a future film focused on the team would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but",
                        "score": 11.258447647094727
                    },
                    {
                        "id": "18944740",
                        "contents": "\"Deadpool 2\"\nat the convention moderated by Soni and featuring other cast members. Some of the scenes cut from the theatrical version of the film were debuted at the panel. At the end of September 2018, Fox announced that it would release an untitled \"\"Deadpool\"\" film in theaters on December 21. The studio suggested that press and fans \"\"guess away\"\" as to what this new film would be, but it was believed to be a re-cut version of \"\"Deadpool 2\"\" that would carry a PG-13 rating rather than being R-rated like the initial theatrical release. Reynolds hinted that the version of the",
                        "score": 11.157129287719727
                    },
                    {
                        "id": "728047",
                        "contents": "\"Deadpool 2\"\nT.J. Miller said that he found the sequel to be funnier than the first film, and that \"\"it's not going to be the same movie in a different location [like \"\"The Hangover Part II\"\"]. It's got different stakes, different things happen, some pretty tragic, dark shit happens in the first part of the film, in the beginning, and the rest of the film is kind of dealing with that.\"\" By then, Kapi\u010di\u0107 had been working with Leitch on set, and expected to continue contributing to Colossus through to April 2018. Production on the \"\"X-Men\"\" film \"\"Dark Phoenix\"\" was taking place",
                        "score": 11.121169090270996
                    },
                    {
                        "id": "11247489",
                        "contents": "\"Deadpool (film)\"\nwas written by Reese and Wernick and played in front of \"\"Logan\"\". \"\"Deadpool 2\"\" was released on May 18, 2018, with Baccarin, T. J. Miller, Uggams, Hildebrand, and Kapi\u010di\u0107 all returning. Josh Brolin joined them as Cable. The film explores the team X-Force, which includes Deadpool and Cable. In March 2017, Reese said that a future film focused on that group would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but then [\"\"Deadpool 3\"\" is] where we're contracting and staying personal and small.\"\" After the acquisition",
                        "score": 11.076671600341797
                    },
                    {
                        "id": "728058",
                        "contents": "\"Deadpool 2\"\nJanuary, the film's release was moved up to May 18, 2018. In February 2018, Terry Crews was revealed to have a role in the film, the character Shatterstar was confirmed to be appearing, and the production returned to Vancouver for six days of reshoots under a new working title, \"\"Daisy\"\". Some reports emerged by mid-March claiming that these reshoots were due to poor audience responses during test screenings of the film, and consisted of sweeping changes. However, the film was soon confirmed to be testing better than the original did, up to 98 out of 100 over three different tests",
                        "score": 11.065988540649414
                    }
                ]
            },
            "intermediate_output_iter2": {
                "input_prompt": "You serve as an intelligent assistant, adept at facilitating users through complex, multi-hop reasoning across multiple documents. This task is illustrated through demonstrations, each consisting of a document set paired with a relevant question and its multi-hop reasoning thoughts. Your task is to generate one thought for current step, DON'T generate the whole thoughts at once! If you reach what you believe to be the final step, start with \"So the answer is:\".\n\nWikipedia Title: Kurram Garhi\nKurram Garhi is a small village located near the city of Bannu, which is the part of Khyber Pakhtunkhwa province of Pakistan. Its population is approximately 35000. Barren hills are near this village. This village is on the border of Kurram Agency. Other nearby villages are Peppal, Surwangi and Amandi Kala.\n\nWikipedia Title: 2001\u201302 UEFA Champions League second group stage\nEight winners and eight runners- up from the first group stage were drawn into four groups of four teams, each containing two group winners and two runners- up. Teams from the same country or from the same first round group could not be drawn together. The top two teams in each group advanced to the quarter- finals.\n\nWikipedia Title: Satellite tournament\nA satellite tournament is either a minor tournament or event on a competitive sporting tour or one of a group of such tournaments that form a series played in the same country or region.\n\nWikipedia Title: Trojkrsti\nTrojkrsti is a village in Municipality of Prilep, Republic of Macedonia.\n\nWikipedia Title: Telephone numbers in Ascension Island\nCountry Code:+ 247< br> International Call Prefix: 00 Ascension Island does not share the same country code( +290) with the rest of St Helena.\n\nQuestion: Are both Kurram Garhi and Trojkrsti located in the same country?\nThought: Kurram Garhi is located in the country of Pakistan. Trojkrsti is located in the country of Republic of Macedonia. Thus, they are not in the same country. So the answer is: no.\n\n\n\nWikipedia Title: \"Deadpool 2\"\nT.J. Miller said that he found the sequel to be funnier than the first film, and that \"\"it's not going to be the same movie in a different location [like \"\"The Hangover Part II\"\"]. It's got different stakes, different things happen, some pretty tragic, dark shit happens in the first part of the film, in the beginning, and the rest of the film is kind of dealing with that.\"\" By then, Kapi\u010di\u0107 had been working with Leitch on set, and expected to continue contributing to Colossus through to April 2018. Production on the \"\"X-Men\"\" film \"\"Dark Phoenix\"\" was taking place\n\nWikipedia Title: \"Deadpool 2\"\nand transgression, but takes no real creative risks.\"\" By November 2016, with development underway on \"\"Deadpool 2\"\", Fox was also planning \"\"Deadpool 3\"\", which was said to include the team X-Force. With the confirmation that Leitch would direct \"\"Deadpool 2\"\", it was revealed that Fox was looking for a separate filmmaker to direct \"\"Deadpool 3\"\". In March 2017, Reese clarified that though \"\"Deadpool 2\"\" sets up the X-Force team, a future film focused on the team would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but\n\nWikipedia Title: \"Deadpool 2\"\nat the convention moderated by Soni and featuring other cast members. Some of the scenes cut from the theatrical version of the film were debuted at the panel. At the end of September 2018, Fox announced that it would release an untitled \"\"Deadpool\"\" film in theaters on December 21. The studio suggested that press and fans \"\"guess away\"\" as to what this new film would be, but it was believed to be a re-cut version of \"\"Deadpool 2\"\" that would carry a PG-13 rating rather than being R-rated like the initial theatrical release. Reynolds hinted that the version of the\n\nWikipedia Title: \"Deadpool 2\"\nJanuary, the film's release was moved up to May 18, 2018. In February 2018, Terry Crews was revealed to have a role in the film, the character Shatterstar was confirmed to be appearing, and the production returned to Vancouver for six days of reshoots under a new working title, \"\"Daisy\"\". Some reports emerged by mid-March claiming that these reshoots were due to poor audience responses during test screenings of the film, and consisted of sweeping changes. However, the film was soon confirmed to be testing better than the original did, up to 98 out of 100 over three different tests\n\nWikipedia Title: \"Deadpool 2\"\nchimichangas, traditionally Deadpool's favorite food, as well as \"\"Deadpool\"\"-inspired Harder drinks. The campaign also included the chance to win a trip to the film's premiere through Harder, and the Los Angeles pop-up benefitted the nonprofit DTLA Film Festival. \"\"Deadpool 2\"\" premiered at Leicester Square in London on May 10, 2018. It was released in the United States on May 18, 2018, having been previously scheduled for release on June 1 of that year. Leitch's initial cut of the film was around two hours and twelve minutes, with \"\"nips and tucks\"\" done to it to get the run time down to\n\nWikipedia Title: \"Deadpool 2\"\nis dedicated to her memory. The film's score is the first to receive a parental advisory warning for explicit content, and the soundtrack also includes the original song \"\"Ashes\"\" by C\u00e9line Dion. \"\"Deadpool 2\"\" was released in the United States on May 18, 2018. It has grossed over $738 million worldwide, becoming the seventh highest-grossing film of 2018, as well as the third highest-grossing R-rated film and the third highest-grossing \"\"X-Men\"\" film. It received positive reviews from critics, who praised its humor, acting (particularly Reynolds, Brolin, and Beetz's performances), story, and action sequences, with some calling it better than the\n\nWikipedia Title: \"Deadpool (film)\"\nwas written by Reese and Wernick and played in front of \"\"Logan\"\". \"\"Deadpool 2\"\" was released on May 18, 2018, with Baccarin, T. J. Miller, Uggams, Hildebrand, and Kapi\u010di\u0107 all returning. Josh Brolin joined them as Cable. The film explores the team X-Force, which includes Deadpool and Cable. In March 2017, Reese said that a future film focused on that group would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but then [\"\"Deadpool 3\"\" is] where we're contracting and staying personal and small.\"\" After the acquisition\n\nQuestion: when is the next deadpool movie being released\nThought:\u03c4\u03b5\u03c1\u03bf n\u00e4chsten Deadpool-Film ist nicht genannt. However, we know that a future \"\"Deadpool\"\" film is planned. This film will be different from \"\"",
                "new_thought": "Deadpool 3\"\", which was planned earlier but not confirmed yet. But we know that the next Deadpool movie will be different and have different stakes, not the",
                "new_retreival_result": [
                    {
                        "id": "18236639",
                        "contents": "\"Deadpool 2\"\nand transgression, but takes no real creative risks.\"\" By November 2016, with development underway on \"\"Deadpool 2\"\", Fox was also planning \"\"Deadpool 3\"\", which was said to include the team X-Force. With the confirmation that Leitch would direct \"\"Deadpool 2\"\", it was revealed that Fox was looking for a separate filmmaker to direct \"\"Deadpool 3\"\". In March 2017, Reese clarified that though \"\"Deadpool 2\"\" sets up the X-Force team, a future film focused on the team would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but",
                        "score": 11.2173433303833
                    },
                    {
                        "id": "11247489",
                        "contents": "\"Deadpool (film)\"\nwas written by Reese and Wernick and played in front of \"\"Logan\"\". \"\"Deadpool 2\"\" was released on May 18, 2018, with Baccarin, T. J. Miller, Uggams, Hildebrand, and Kapi\u010di\u0107 all returning. Josh Brolin joined them as Cable. The film explores the team X-Force, which includes Deadpool and Cable. In March 2017, Reese said that a future film focused on that group would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but then [\"\"Deadpool 3\"\" is] where we're contracting and staying personal and small.\"\" After the acquisition",
                        "score": 11.173018455505371
                    },
                    {
                        "id": "728047",
                        "contents": "\"Deadpool 2\"\nT.J. Miller said that he found the sequel to be funnier than the first film, and that \"\"it's not going to be the same movie in a different location [like \"\"The Hangover Part II\"\"]. It's got different stakes, different things happen, some pretty tragic, dark shit happens in the first part of the film, in the beginning, and the rest of the film is kind of dealing with that.\"\" By then, Kapi\u010di\u0107 had been working with Leitch on set, and expected to continue contributing to Colossus through to April 2018. Production on the \"\"X-Men\"\" film \"\"Dark Phoenix\"\" was taking place",
                        "score": 11.090624809265137
                    },
                    {
                        "id": "18944740",
                        "contents": "\"Deadpool 2\"\nat the convention moderated by Soni and featuring other cast members. Some of the scenes cut from the theatrical version of the film were debuted at the panel. At the end of September 2018, Fox announced that it would release an untitled \"\"Deadpool\"\" film in theaters on December 21. The studio suggested that press and fans \"\"guess away\"\" as to what this new film would be, but it was believed to be a re-cut version of \"\"Deadpool 2\"\" that would carry a PG-13 rating rather than being R-rated like the initial theatrical release. Reynolds hinted that the version of the",
                        "score": 11.050052642822266
                    },
                    {
                        "id": "3308052",
                        "contents": "\"Deadpool (film)\"\nplot as formulaic as well as the sheer number of jokes in the film. It also received many awards and nominations, including two Critics' Choice Awards and two Golden Globe nominations. A sequel, \"\"Deadpool 2\"\", was released in May 2018. Wade Wilson is a dishonorably discharged special forces operative working as a mercenary when he meets Vanessa, a prostitute. They become romantically involved, and a year later she accepts his marriage proposal. Wilson is diagnosed with terminal cancer, and leaves Vanessa without warning so she will not have to watch him die. A mysterious recruiter approaches Wilson, offering an experimental",
                        "score": 11.039874076843262
                    }
                ]
            },
            "retrieval_result": [
                {
                    "id": "3308052",
                    "contents": "\"Deadpool (film)\"\nplot as formulaic as well as the sheer number of jokes in the film. It also received many awards and nominations, including two Critics' Choice Awards and two Golden Globe nominations. A sequel, \"\"Deadpool 2\"\", was released in May 2018. Wade Wilson is a dishonorably discharged special forces operative working as a mercenary when he meets Vanessa, a prostitute. They become romantically involved, and a year later she accepts his marriage proposal. Wilson is diagnosed with terminal cancer, and leaves Vanessa without warning so she will not have to watch him die. A mysterious recruiter approaches Wilson, offering an experimental",
                    "score": 11.039874076843262
                },
                {
                    "id": "728047",
                    "contents": "\"Deadpool 2\"\nT.J. Miller said that he found the sequel to be funnier than the first film, and that \"\"it's not going to be the same movie in a different location [like \"\"The Hangover Part II\"\"]. It's got different stakes, different things happen, some pretty tragic, dark shit happens in the first part of the film, in the beginning, and the rest of the film is kind of dealing with that.\"\" By then, Kapi\u010di\u0107 had been working with Leitch on set, and expected to continue contributing to Colossus through to April 2018. Production on the \"\"X-Men\"\" film \"\"Dark Phoenix\"\" was taking place",
                    "score": 11.090624809265137
                },
                {
                    "id": "18236639",
                    "contents": "\"Deadpool 2\"\nand transgression, but takes no real creative risks.\"\" By November 2016, with development underway on \"\"Deadpool 2\"\", Fox was also planning \"\"Deadpool 3\"\", which was said to include the team X-Force. With the confirmation that Leitch would direct \"\"Deadpool 2\"\", it was revealed that Fox was looking for a separate filmmaker to direct \"\"Deadpool 3\"\". In March 2017, Reese clarified that though \"\"Deadpool 2\"\" sets up the X-Force team, a future film focused on the team would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but",
                    "score": 11.2173433303833
                },
                {
                    "id": "18944740",
                    "contents": "\"Deadpool 2\"\nat the convention moderated by Soni and featuring other cast members. Some of the scenes cut from the theatrical version of the film were debuted at the panel. At the end of September 2018, Fox announced that it would release an untitled \"\"Deadpool\"\" film in theaters on December 21. The studio suggested that press and fans \"\"guess away\"\" as to what this new film would be, but it was believed to be a re-cut version of \"\"Deadpool 2\"\" that would carry a PG-13 rating rather than being R-rated like the initial theatrical release. Reynolds hinted that the version of the",
                    "score": 11.050052642822266
                },
                {
                    "id": "728058",
                    "contents": "\"Deadpool 2\"\nJanuary, the film's release was moved up to May 18, 2018. In February 2018, Terry Crews was revealed to have a role in the film, the character Shatterstar was confirmed to be appearing, and the production returned to Vancouver for six days of reshoots under a new working title, \"\"Daisy\"\". Some reports emerged by mid-March claiming that these reshoots were due to poor audience responses during test screenings of the film, and consisted of sweeping changes. However, the film was soon confirmed to be testing better than the original did, up to 98 out of 100 over three different tests",
                    "score": 11.065988540649414
                },
                {
                    "id": "728070",
                    "contents": "\"Deadpool 2\"\nchimichangas, traditionally Deadpool's favorite food, as well as \"\"Deadpool\"\"-inspired Harder drinks. The campaign also included the chance to win a trip to the film's premiere through Harder, and the Los Angeles pop-up benefitted the nonprofit DTLA Film Festival. \"\"Deadpool 2\"\" premiered at Leicester Square in London on May 10, 2018. It was released in the United States on May 18, 2018, having been previously scheduled for release on June 1 of that year. Leitch's initial cut of the film was around two hours and twelve minutes, with \"\"nips and tucks\"\" done to it to get the run time down to",
                    "score": 12.537022590637207
                },
                {
                    "id": "18944682",
                    "contents": "\"Deadpool 2\"\nis dedicated to her memory. The film's score is the first to receive a parental advisory warning for explicit content, and the soundtrack also includes the original song \"\"Ashes\"\" by C\u00e9line Dion. \"\"Deadpool 2\"\" was released in the United States on May 18, 2018. It has grossed over $738 million worldwide, becoming the seventh highest-grossing film of 2018, as well as the third highest-grossing R-rated film and the third highest-grossing \"\"X-Men\"\" film. It received positive reviews from critics, who praised its humor, acting (particularly Reynolds, Brolin, and Beetz's performances), story, and action sequences, with some calling it better than the",
                    "score": 12.583272933959961
                },
                {
                    "id": "11247489",
                    "contents": "\"Deadpool (film)\"\nwas written by Reese and Wernick and played in front of \"\"Logan\"\". \"\"Deadpool 2\"\" was released on May 18, 2018, with Baccarin, T. J. Miller, Uggams, Hildebrand, and Kapi\u010di\u0107 all returning. Josh Brolin joined them as Cable. The film explores the team X-Force, which includes Deadpool and Cable. In March 2017, Reese said that a future film focused on that group would be separate from \"\"Deadpool 3\"\", \"\"so I think we'll be able to take two paths. [\"\"X-Force\"\"] is where we're launching something bigger, but then [\"\"Deadpool 3\"\" is] where we're contracting and staying personal and small.\"\" After the acquisition",
                    "score": 11.173018455505371
                }
            ],
            "pred": "\u03c4\u03b5\u03c1\u03bf n\u00e4chsten Deadpool-Film ist nicht genannt. However, we know that a future \"\"Deadpool\"\" film is planned. This film will be different from \"\" Deadpool 3\"\", which was planned earlier but not confirmed yet. But we know that the next Deadpool movie will be different and have different stakes, not the",
            "raw_pred": "\u03c4\u03b5\u03c1\u03bf n\u00e4chsten Deadpool-Film ist nicht genannt. However, we know that a future \"\"Deadpool\"\" film is planned. This film will be different from \"\" Deadpool 3\"\", which was planned earlier but not confirmed yet. But we know that the next Deadpool movie will be different and have different stakes, not the",
            "metric_score": {
                "em": 0.0,
                "f1": 0,
                "acc": 0.0,
                "precision": 0,
                "recall": 0
            }
        }
    },

I am not quite sure why it happens (may be random); I also checked prompts, and they look fine.
Thank you!

I compared your log with mine and found an issue: the maximum number of tokens you output was set too low, which resulted in incomplete generation of thoughts and caused problems with the results. Maybe you can set max_tokens to 64.
I also found that there was a printing issue in this pipeline, and it has been fixed in commit 7807f020ccbf46595a1ed7c20fce92dfa907d3c9.
Below is my log:
{
        "id": "test_0",
        "question": "who got the first nobel prize in physics",
        "golden_answers": [
            "Wilhelm Conrad R\u00f6ntgen"
        ],
        "output": {
            "intermediate_output_iter1": {
                "input_prompt": "You serve as an intelligent assistant, adept at facilitating users through complex, multi-hop reasoning across multiple documents. This task is illustrated through demonstrations, each consisting of a document set paired with a relevant question and its multi-hop reasoning thoughts. Your task is to generate one thought for current step, DON'T generate the whole thoughts at once! If you reach what you believe to be the final step, start with \"So the answer is:\".\n\nWikipedia Title: Kurram Garhi\nKurram Garhi is a small village located near the city of Bannu, which is the part of Khyber Pakhtunkhwa province of Pakistan. Its population is approximately 35000. Barren hills are near this village. This village is on the border of Kurram Agency. Other nearby villages are Peppal, Surwangi and Amandi Kala.\n\nWikipedia Title: 2001\u201302 UEFA Champions League second group stage\nEight winners and eight runners- up from the first group stage were drawn into four groups of four teams, each containing two group winners and two runners- up. Teams from the same country or from the same first round group could not be drawn together. The top two teams in each group advanced to the quarter- finals.\n\nWikipedia Title: Satellite tournament\nA satellite tournament is either a minor tournament or event on a competitive sporting tour or one of a group of such tournaments that form a series played in the same country or region.\n\nWikipedia Title: Trojkrsti\nTrojkrsti is a village in Municipality of Prilep, Republic of Macedonia.\n\nWikipedia Title: Telephone numbers in Ascension Island\nCountry Code:+ 247< br> International Call Prefix: 00 Ascension Island does not share the same country code( +290) with the rest of St Helena.\n\nQuestion: Are both Kurram Garhi and Trojkrsti located in the same country?\nThought: Kurram Garhi is located in the country of Pakistan. Trojkrsti is located in the country of Republic of Macedonia. Thus, they are not in the same country. So the answer is: no.\n\n\n\nWikipedia Title: \"Nobel Prize in Physics\"\nNobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was awarded to physicist Wilhelm R\u00f6ntgen in recognition of the extraordinary services he\n\nWikipedia Title: \"Nobel Prize in Physics\"\nreceive a diploma, a medal and a document confirming the prize amount. Nobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was\n\nWikipedia Title: \"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In\n\nWikipedia Title: \"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In\n\nWikipedia Title: \"Nobel Prize\"\nWilhelm R\u00f6ntgen's discovery of X-rays and Philipp Lenard's work on cathode rays. The Academy of Sciences selected R\u00f6ntgen for the prize. In the last decades of the 19th century, many chemists had made significant contributions. Thus, with the Chemistry Prize, the Academy \"\"was chiefly faced with merely deciding the order in which these scientists should be awarded the prize\"\". The Academy received 20 nominations, eleven of them for Jacobus van 't Hoff. Van 't Hoff was awarded the prize for his contributions in chemical thermodynamics. The Swedish Academy chose the poet Sully Prudhomme for the first Nobel Prize in Literature.\n\nQuestion: who got the first nobel prize in physics\nThought:",
                "new_thought": "The first Nobel Prize in Physics was awarded to Wilhelm R\u00f6ntgen in recognition of the extraordinary services he received a diploma, a medal and a document confirming the prize amount. So the answer is: Wilhelm R\u00f6ntgen."
            },
            "retrieval_result": [
                {
                    "id": "16315106",
                    "contents": "\"Nobel Prize in Physics\"\nNobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was awarded to physicist Wilhelm R\u00f6ntgen in recognition of the extraordinary services he",
                    "score": 12.159852027893066
                },
                {
                    "id": "16315118",
                    "contents": "\"Nobel Prize in Physics\"\nreceive a diploma, a medal and a document confirming the prize amount. Nobel Prize in Physics The Nobel Prize in Physics () is a yearly award given by the Royal Swedish Academy of Sciences for those who have made the most outstanding contributions for mankind in the field of physics. It is one of the five Nobel Prizes established by the will of Alfred Nobel in 1895 and awarded since 1901; the others being the Nobel Prize in Chemistry, Nobel Prize in Literature, Nobel Peace Prize, and Nobel Prize in Physiology or Medicine. The first Nobel Prize in Physics was",
                    "score": 12.028738021850586
                },
                {
                    "id": "18359579",
                    "contents": "\"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In",
                    "score": 11.903972625732422
                },
                {
                    "id": "6617129",
                    "contents": "\"Wilhelm Ro\u0308ntgen\"\nWilhelm R\u00f6ntgen Wilhelm Conrad R\u00f6ntgen (; ; 27 March 1845 \u2013 10 February 1923) was a German mechanical engineer and physicist, who, on 8 November 1895, produced and detected electromagnetic radiation in a wavelength range known as X-rays or R\u00f6ntgen rays, an achievement that earned him the first Nobel Prize in Physics in 1901. In honour of his accomplishments, in 2004 the International Union of Pure and Applied Chemistry (IUPAC) named element 111, roentgenium, a radioactive element with multiple unstable isotopes, after him. Born to a German father and a Dutch mother, R\u00f6ntgen attended high school in Utrecht, Netherlands. In",
                    "score": 11.903972625732422
                },
                {
                    "id": "11376096",
                    "contents": "\"Nobel Prize\"\nWilhelm R\u00f6ntgen's discovery of X-rays and Philipp Lenard's work on cathode rays. The Academy of Sciences selected R\u00f6ntgen for the prize. In the last decades of the 19th century, many chemists had made significant contributions. Thus, with the Chemistry Prize, the Academy \"\"was chiefly faced with merely deciding the order in which these scientists should be awarded the prize\"\". The Academy received 20 nominations, eleven of them for Jacobus van 't Hoff. Van 't Hoff was awarded the prize for his contributions in chemical thermodynamics. The Swedish Academy chose the poet Sully Prudhomme for the first Nobel Prize in Literature.",
                    "score": 11.836908340454102
                }
            ],
            "pred": "Wilhelm R\u00f6ntgen.",
            "raw_pred": "The first Nobel Prize in Physics was awarded to Wilhelm R\u00f6ntgen in recognition of the extraordinary services he received a diploma, a medal and a document confirming the prize amount. So the answer is: Wilhelm R\u00f6ntgen.",
            "metric_score": {
                "em": 0.0,
                "f1": 0.8,
                "acc": 0.0,
                "precision": 1.0,
                "recall": 0.6666666666666666
            }
        }


Fatal Error

WP 6.6.1
bs Swipper 5.8.3
Booscore + Booscore Child : 6.0.0-beta1
[16-Aug-2024 08:52:04 UTC] PHP Fatal error:  Cannot redeclare bootscore_swiper() (previously declared in /x/x/x/x/wp-content/plugins/bs-swiper/templates/sc-swiper-card.php:42) in /x/x/x/x/wp-content/plugins/bs-swiper/templates/sc-swiper-card.php on line 174
[16-Aug-2024 08:52:04 UTC] PHP Deprecated:  Creation of dynamic property Pwf_Autoloader::$classes is deprecated in /x/x/x/x/wp-content/plugins/pwfwoofilter/includes/classes/class-pwf-autoloader.php on line 40

Please describe steps to reproduce this issue in detail and share a link to your site. Try first to disable pwfwoofilter plugin.

Closing this issue because here is no feedback.


Breadcrumbs change height when hovered in Firefox

When a breadcrumb is hovered it creates a border-bottom of height 1px.
In order for the content below not to jump, a transparent border of 1px is added by default so that the height of the element always remains the same.
In Firefox the border-bottom is explicitly set to none though so that the content below a breadcrumb jumps whenever someone hovers over it.
I made a codepen with a hr below the breadcrumbs to demonstrate this.

Hmm, not sure why we have that override in there specifically for Firefox. Will remove shortly


Issue with device registration.

Hi,
I am having an issue while registering a device on GCM. I follow the steps from GCM but the device keep displaying a busy icon with a message (Generating InstanceID toke ) and never register it.

Hi @fafzal it looks like you are using a simulator if you are what version of android is running on it? Should be 4.2.2 or higher to include Google Play Services.

Hi kroikie,
Thanks for the reply, yes I am using a simulator. I don't see any error message on logcat console, I am using Android 5.1 (lollipop).

Can the simulator access the internet otherwise?

Yes it's do access the internet. I only see this error message on logcat console.
07-23 22:05:11.601    2041-2041/gcm.play.android.samples.com.gcmquickstart E/SettingsRedirect﹕ Can't redirect to app settings for Google Play services

HI @fafzal, there is an issue with the latest version of Google Play Services not being available on the emulator. I have flagged this issue with the emulator team and I will update here when I have more information.
If you can, use a real device till the correct version of Play Services can be made available to the emulator.

@fafzal an appropriate version of Google Play Services is available on emulators running API version 21 or 19. If you make a Google API AVD with API version 21 or 19 the sample should work as expected. In the emulator check in Settings > Apps > Google Play Services that the version is 7.5.*


Fix typo CrpytDrive -> CryptDrive

I've noticed a typo while reading the documentation and went ahead and fixed all of occurrences of the typo.

thank you!


Supporting Texture

Not work set Texture as a child of AnimatedCroppableImageViewport

Hi! To clarify, are you trying to use an external texture (i.e. the Texture widget) as a child of the viewport? I'm not sure if that's supported yet, as the package relies on an ImageProvider to provide an image to crop.
Please share a code example so I can run it on my end and see what's going wrong.