Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 179 for evaluation (0.09 seconds)

  1. src/main/java/org/codelibs/fess/llm/RelevanceEvaluationResult.java

         *
         * @return evaluation result with no relevant documents
         */
        public static RelevanceEvaluationResult noRelevantResults() {
            return new RelevanceEvaluationResult(Collections.emptyList(), Collections.emptyList(), false);
        }
    
        /**
         * Creates a fallback result that includes all documents as relevant.
         * Used when evaluation fails and we want to include all search results.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            }
            return documentNotFoundSystemPrompt;
        }
    
        /**
         * Gets the evaluation prompt for relevance checking.
         *
         * @return the evaluation prompt
         */
        protected String getEvaluationPrompt() {
            if (evaluationPrompt == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Predicates.java

        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a false predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/expr_test.go

    	// Junk at EOF.
    	{"3 x", 3, false},
    	// Big number
    	{"4611686018427387904", 4611686018427387904, true},
    }
    
    func TestExpr(t *testing.T) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    	for i, test := range exprTests {
    		p.start(lex.Tokenize(test.input))
    		result := int64(p.expr())
    		if result != test.output {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         * @param paramMap the parameters to bind to the script (null-safe, treated as empty map if null)
         * @return the result of script evaluation, or null if the template is empty or evaluation fails
         * @throws JobProcessingException if the script explicitly throws this exception
         *         (allows scripts to signal job-specific errors that should propagate)
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFilenameFilter.java

         *
         * @param dir the directory containing the file
         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Predicates.java

        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a false predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/script/ScriptEngine.java

         *
         * @param template the template string to evaluate
         * @param paramMap the map of parameters to substitute into the template
         * @return the result of evaluating the template, or null if evaluation fails
         */
        Object evaluate(final String template, final Map<String, Object> paramMap);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

                    throw new RuntimeException("Script evaluation failed");
                }
            });
    
            // Execute and verify exception is propagated
            try {
                scriptExecutor.execute("errorEngine", "test");
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Script evaluation failed", e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        private String boostExpression = "0";
    
        /** The expression used to match documents for boosting */
        private String matchExpression;
    
        /** The script engine type used for expression evaluation */
        private final String scriptType;
    
        /**
         * Default constructor that creates a DocBoostMatcher with default script type.
         * Uses the default script engine as defined in Constants.DEFAULT_SCRIPT.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
Back to Top