Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi. Here'S A Question. I Wrote A Code Below For Pipeline,

Hi. here's a question.
I wrote a code below for pipeline,

        ret = np.asarray(tlbr).copy()
        if ret.shape == (4,):
            ret[2:] -= ret[:2]
        else:
            ret[:, 2:] -= ret[:, :2]

and when I ran on agent It replaced to

        ret = np.asarray(tlbr).copy()
        if (ret.shape == (4,)):
            ret[2:] -= ret[:2]
        else:
            ret[(:, 2:)] -= ret[(:, :2)]

and It breaks the python syntax.

what makes the breaking change and how to disable the wrong behavior?

  
  
Posted one year ago
Votes Newest

Answers 3


Hu @<1523702406758535168:profile|FancyWhale93> , I'm not sure how the code was changed, can you provide a more full screenshot(s) of the task's execution section?

  
  
Posted one year ago

code ran on agent
image

  
  
Posted one year ago

the original code
image

  
  
Posted one year ago
986 Views
3 Answers
one year ago
one year ago
Tags